From ed33f2bf2f7cf66fdf874a533d600580d2c4be11 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 68da173..4c1c610 100644 --- a/include/boost/optional/optional_io.hpp +++ b/include/boost/optional/optional_io.hpp @@ -23,15 +23,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() ) { @@ -43,15 +38,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()) {