*** none_t.hpp.old 2011-06-05 14:28:35.000000000 -0700 --- none_t.hpp 2011-06-05 14:46:33.000000000 -0700 *************** *** 12,23 **** --- 12,37 ---- #ifndef BOOST_NONE_T_17SEP2003_HPP #define BOOST_NONE_T_17SEP2003_HPP + #include + namespace boost { namespace detail { struct none_helper{}; } typedef int detail::none_helper::*none_t ; + template + std::basic_istream& operator>> (std::basic_istream& in, none_t& _) + { + return in; + } + + template + std::basic_ostream& operator<< (std::basic_ostream& out, none_t const& _) + { + return out; + } + } // namespace boost #endif