diff --git a/include/boost/optional/optional_io.hpp b/include/boost/optional/optional_io.hpp index 9e0c807..a0ad4cf 100644 --- a/include/boost/optional/optional_io.hpp +++ b/include/boost/optional/optional_io.hpp @@ -33,15 +33,10 @@ namespace boost { -#if defined (BOOST_NO_TEMPLATED_STREAMS) -template -inline std::ostream& operator<<(std::ostream& out, optional const& v) -#else template inline std::basic_ostream& operator<<(std::basic_ostream& out, optional const& v) -#endif { if ( out.good() ) { @@ -53,15 +48,10 @@ operator<<(std::basic_ostream& out, optional const& v) return out; } -#if defined (BOOST_NO_TEMPLATED_STREAMS) -template -inline std::istream& operator>>(std::istream& in, optional& v) -#else template inline std::basic_istream& operator>>(std::basic_istream& in, optional& v) -#endif { if (in.good()) {