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 #include <iosfwd> // for std::basic_ostream forward declare
20 #include "boost/detail/templated_streams.hpp"
21 #include "boost/mpl/bool.hpp"
22 #include "boost/type_traits/is_empty.hpp"
23 #include "boost/type_traits/is_pod.hpp"
24 #include "boost/type_traits/is_stateless.hpp"
32 // type traits specializations
36 struct is_pod
< blank
>
42 struct is_empty
< blank
>
48 struct is_stateless
< blank
>
53 // relational operators
56 inline bool operator==(const blank
&, const blank
&)
61 inline bool operator<=(const blank
&, const blank
&)
66 inline bool operator>=(const blank
&, const blank
&)
71 inline bool operator!=(const blank
&, const blank
&)
76 inline bool operator<(const blank
&, const blank
&)
81 inline bool operator>(const blank
&, const blank
&)
88 BOOST_TEMPLATED_STREAM_TEMPLATE(E
,T
)
89 inline BOOST_TEMPLATED_STREAM(ostream
, E
,T
)& operator<<(
90 BOOST_TEMPLATED_STREAM(ostream
, E
,T
)& out
100 #endif // BOOST_BLANK_HPP