1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- #ifndef BOOST_DETAIL_TEMPLATED_STREAMS_HPP
- #define BOOST_DETAIL_TEMPLATED_STREAMS_HPP
- #include "boost/config.hpp"
- #if !defined(BOOST_NO_STD_LOCALE)
- #define BOOST_TEMPLATED_STREAM_TEMPLATE(E,T) \
- template < typename E , typename T >
- #define BOOST_TEMPLATED_STREAM_TEMPLATE_ALLOC(E,T,A) \
- template < typename E , typename T , typename A >
- #define BOOST_TEMPLATED_STREAM_ARGS(E,T) \
- typename E , typename T
- #define BOOST_TEMPLATED_STREAM_ARGS_ALLOC(E,T,A) \
- typename E , typename T , typename A
- #define BOOST_TEMPLATED_STREAM_COMMA ,
- #define BOOST_TEMPLATED_STREAM_ELEM(E) E
- #define BOOST_TEMPLATED_STREAM_TRAITS(T) T
- #define BOOST_TEMPLATED_STREAM_ALLOC(A) A
- #define BOOST_TEMPLATED_STREAM(X,E,T) \
- BOOST_JOIN(std::basic_,X)< E , T >
- #define BOOST_TEMPLATED_STREAM_WITH_ALLOC(X,E,T,A) \
- BOOST_JOIN(std::basic_,X)< E , T , A >
- #else
- #define BOOST_TEMPLATED_STREAM_TEMPLATE(E,T)
- #define BOOST_TEMPLATED_STREAM_TEMPLATE_ALLOC(E,T,A)
- #define BOOST_TEMPLATED_STREAM_ARGS(E,T)
- #define BOOST_TEMPLATED_STREAM_ARGS_ALLOC(E,T,A)
- #define BOOST_TEMPLATED_STREAM_COMMA
- #define BOOST_TEMPLATED_STREAM_ELEM(E) char
- #define BOOST_TEMPLATED_STREAM_TRAITS(T) std::char_traits<char>
- #define BOOST_TEMPLATED_STREAM_ALLOC(A) std::allocator<char>
- #define BOOST_TEMPLATED_STREAM(X,E,T) \
- std::X
- #define BOOST_TEMPLATED_STREAM_WITH_ALLOC(X,E,T,A) \
- std::X
- #endif
- #endif
|