From 0d069c2c0c0252055a65a03e325501823e886bbd 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] --- .../detail/operator_return_type_traits.hpp | 31 ------------------- include/boost/lambda/detail/operators.hpp | 18 ----------- 2 files changed, 49 deletions(-) diff --git a/include/boost/lambda/detail/operator_return_type_traits.hpp b/include/boost/lambda/detail/operator_return_type_traits.hpp index b2d3d3a..90a35fc 100644 --- a/include/boost/lambda/detail/operator_return_type_traits.hpp +++ b/include/boost/lambda/detail/operator_return_type_traits.hpp @@ -536,36 +536,6 @@ struct return_type_2, A, B> namespace detail { -#ifdef BOOST_NO_TEMPLATED_STREAMS - -template -struct leftshift_type { - - typedef typename detail::IF< - boost::is_convertible< - typename boost::remove_reference::type*, - std::ostream* - >::value, - std::ostream&, - typename detail::remove_reference_and_cv::type - >::RET type; -}; - -template -struct rightshift_type { - - typedef typename detail::IF< - - boost::is_convertible< - typename boost::remove_reference::type*, - std::istream* - >::value, - std::istream&, - typename detail::remove_reference_and_cv::type - >::RET type; -}; - -#else template struct get_ostream_type { typedef std::basic_ostream struct convert_ostream_to_ref_others_to_c_plain_by_default { - typedef typename detail::IF< - boost::is_convertible::value, - T&, - typename const_copy_argument ::type - >::RET type; -}; - -template struct convert_istream_to_ref_others_to_c_plain_by_default { - typedef typename detail::IF< - boost::is_convertible::value, - T&, - typename const_copy_argument ::type - >::RET type; -}; -#else template struct convert_ostream_to_ref_others_to_c_plain_by_default { typedef typename detail::IF< @@ -198,7 +181,6 @@ template struct convert_istream_to_ref_others_to_c_plain_by_default { typename const_copy_argument ::type >::RET type; }; -#endif } // detail