1 //-----------------------------------------------------------------------------
2 // boost blank.hpp header file
3 // See http://www.boost.org for updates, documentation, and revision history.
4 //-----------------------------------------------------------------------------
9 // Distributed under the Boost Software License, Version 1.0. (See
10 // accompanying file LICENSE_1_0.txt or copy at
11 // http://www.boost.org/LICENSE_1_0.txt)
13 #ifndef BOOST_BLANK_HPP
14 #define BOOST_BLANK_HPP
16 #include "boost/blank_fwd.hpp"
18 #if !defined(BOOST_NO_IOSTREAM)
19 #include <iosfwd> // for std::basic_ostream forward declare
20 #include "boost/detail/templated_streams.hpp"
21 #endif // BOOST_NO_IOSTREAM
23 #include "boost/type_traits/integral_constant.hpp"
24 #include "boost/type_traits/is_empty.hpp"
25 #include "boost/type_traits/is_pod.hpp"
26 #include "boost/type_traits/is_stateless.hpp"
34 // type traits specializations
38 struct is_pod< blank >
44 struct is_empty< blank >
50 struct is_stateless< blank >
55 // relational operators
58 inline bool operator==(const blank&, const blank&)
63 inline bool operator<=(const blank&, const blank&)
68 inline bool operator>=(const blank&, const blank&)
73 inline bool operator!=(const blank&, const blank&)
78 inline bool operator<(const blank&, const blank&)
83 inline bool operator>(const blank&, const blank&)
90 #if !defined(BOOST_NO_IOSTREAM)
92 BOOST_TEMPLATED_STREAM_TEMPLATE(E,T)
93 inline BOOST_TEMPLATED_STREAM(ostream, E,T)& operator<<(
94 BOOST_TEMPLATED_STREAM(ostream, E,T)& out
102 #endif // BOOST_NO_IOSTREAM
106 #endif // BOOST_BLANK_HPP