]> AND Private Git Repository - canny.git/blob - stc/exp/ml_stc_linux_make_v1.0/include/boost/detail/templated_streams.hpp
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
a0527fe8802ac179322720e953df5234aa9483f4
[canny.git] / stc / exp / ml_stc_linux_make_v1.0 / include / boost / detail / templated_streams.hpp
1 //-----------------------------------------------------------------------------\r
2 // boost detail/templated_streams.hpp header file\r
3 // See http://www.boost.org for updates, documentation, and revision history.\r
4 //-----------------------------------------------------------------------------\r
5 //\r
6 // Copyright (c) 2003\r
7 // Eric Friedman\r
8 //\r
9 // Distributed under the Boost Software License, Version 1.0. (See\r
10 // accompanying file LICENSE_1_0.txt or copy at\r
11 // http://www.boost.org/LICENSE_1_0.txt)\r
12 \r
13 #ifndef BOOST_DETAIL_TEMPLATED_STREAMS_HPP\r
14 #define BOOST_DETAIL_TEMPLATED_STREAMS_HPP\r
15 \r
16 #include "boost/config.hpp"\r
17 \r
18 ///////////////////////////////////////////////////////////////////////////////\r
19 // (detail) BOOST_TEMPLATED_STREAM_* macros\r
20 //\r
21 // Provides workaround platforms without stream class templates.\r
22 //\r
23 \r
24 #if !defined(BOOST_NO_STD_LOCALE)\r
25 \r
26 #define BOOST_TEMPLATED_STREAM_TEMPLATE(E,T) \\r
27     template < typename E , typename T >\r
28 \r
29 #define BOOST_TEMPLATED_STREAM_TEMPLATE_ALLOC(E,T,A) \\r
30     template < typename E , typename T , typename A >\r
31 \r
32 #define BOOST_TEMPLATED_STREAM_ARGS(E,T) \\r
33     typename E , typename T \r
34 \r
35 #define BOOST_TEMPLATED_STREAM_ARGS_ALLOC(E,T,A) \\r
36     typename E , typename T , typename A \r
37 \r
38 #define BOOST_TEMPLATED_STREAM_COMMA        ,\r
39 \r
40 #define BOOST_TEMPLATED_STREAM_ELEM(E)      E\r
41 #define BOOST_TEMPLATED_STREAM_TRAITS(T)    T\r
42 #define BOOST_TEMPLATED_STREAM_ALLOC(A)     A\r
43 \r
44 #define BOOST_TEMPLATED_STREAM(X,E,T) \\r
45     BOOST_JOIN(std::basic_,X)< E , T >\r
46 \r
47 #define BOOST_TEMPLATED_STREAM_WITH_ALLOC(X,E,T,A) \\r
48     BOOST_JOIN(std::basic_,X)< E , T , A >\r
49 \r
50 #else // defined(BOOST_NO_STD_LOCALE)\r
51 \r
52 #define BOOST_TEMPLATED_STREAM_TEMPLATE(E,T) /**/\r
53 \r
54 #define BOOST_TEMPLATED_STREAM_TEMPLATE_ALLOC(E,T,A) /**/\r
55 \r
56 #define BOOST_TEMPLATED_STREAM_ARGS(E,T) /**/\r
57 \r
58 #define BOOST_TEMPLATED_STREAM_ARGS_ALLOC(E,T,A) /**/\r
59 \r
60 #define BOOST_TEMPLATED_STREAM_COMMA        /**/\r
61 \r
62 #define BOOST_TEMPLATED_STREAM_ELEM(E)      char\r
63 #define BOOST_TEMPLATED_STREAM_TRAITS(T)    std::char_traits<char>\r
64 #define BOOST_TEMPLATED_STREAM_ALLOC(A)     std::allocator<char>\r
65 \r
66 #define BOOST_TEMPLATED_STREAM(X,E,T) \\r
67     std::X\r
68 \r
69 #define BOOST_TEMPLATED_STREAM_WITH_ALLOC(X,E,T,A) \\r
70     std::X\r
71 \r
72 #endif // BOOST_NO_STD_LOCALE\r
73 \r
74 #endif // BOOST_DETAIL_TEMPLATED_STREAMS_HPP\r