]> git.lyx.org Git - lyx.git/blob - boost/boost/format/macros_default.hpp
update to boost 1.30.1
[lyx.git] / boost / boost / format / macros_default.hpp
1 // -*- C++ -*-
2 //  Boost general library 'format'   ---------------------------
3 //  See http://www.boost.org for updates, documentation, and revision history.
4
5 //  (C) Samuel Krempp 2001
6 //                  krempp@crans.ens-cachan.fr
7 //  Permission to copy, use, modify, sell and
8 //  distribute this software is granted provided this copyright notice appears
9 //  in all copies. This software is provided "as is" without express or implied
10 //  warranty, and with no claim as to its suitability for any purpose.
11
12 // ideas taken from RĂ¼diger Loos's format class
13 // and Karl Nelson's ofstream (also took its parsing code as basis for printf parsing)
14
15 // ------------------------------------------------------------------------------
16 // macros_default.hpp : configuration for the format library
17 //                       provides default values for the stl workaround macros
18 // ------------------------------------------------------------------------------
19
20 #ifndef BOOST_FORMAT_MACROS_DEFAULT_HPP
21 #define BOOST_FORMAT_MACROS_DEFAULT_HPP
22
23 #include <boost/config.hpp>
24
25 // *** This should go to "boost/config/suffix.hpp".
26
27 #ifndef BOOST_IO_STD
28 #  define BOOST_IO_STD std::
29 #endif
30
31 // **** Workaround for io streams, stlport and msvc.
32 #ifdef BOOST_IO_NEEDS_USING_DECLARATION
33 namespace boost {
34   using std::char_traits;
35   using std::basic_ostream;
36   using std::basic_ostringstream;
37   namespace io {
38     using std::basic_ostream;
39     namespace detail {
40       using std::basic_ios;
41       using std::basic_ostream;
42       using std::basic_ostringstream;
43     }
44   }
45 }
46 #endif
47
48 // ------------------------------------------------------------------------------
49
50 #endif // BOOST_FORMAT_MACROS_DEFAULT_HPP