From c9ead3071327afa7e11d132570588f147441b958 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Mon, 30 Sep 2013 15:56:52 +0000 Subject: [PATCH] Remove use of obsolete BOOST_NO_TEMPLATED_STREAMS macro. It was only defined for no-longer-supported-gcc. [SVN r86062] --- include/boost/optional/optional_io.hpp | 10 ---------- 1 file changed, 10 deletions(-) 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()) {