Revert "Remove use of obsolete BOOST_NO_TEMPLATED_STREAMS macro."

This reverts commit 14be9eb90f.
This commit is contained in:
Peter Dimov
2013-12-07 19:21:31 +02:00
parent 5f69684c8f
commit 182452e057
2 changed files with 2 additions and 2 deletions

View File

@@ -279,7 +279,7 @@ template<class T, class U> intrusive_ptr<T> dynamic_pointer_cast(intrusive_ptr<U
#if !defined(BOOST_NO_IOSTREAM) #if !defined(BOOST_NO_IOSTREAM)
#if ( defined(__GNUC__) && (__GNUC__ < 3) ) #if defined(BOOST_NO_TEMPLATED_IOSTREAMS) || ( defined(__GNUC__) && (__GNUC__ < 3) )
template<class Y> std::ostream & operator<< (std::ostream & os, intrusive_ptr<Y> const & p) template<class Y> std::ostream & operator<< (std::ostream & os, intrusive_ptr<Y> const & p)
{ {

View File

@@ -836,7 +836,7 @@ template<class T> inline typename shared_ptr<T>::element_type * get_pointer(shar
#if !defined(BOOST_NO_IOSTREAM) #if !defined(BOOST_NO_IOSTREAM)
#if ( defined(__GNUC__) && (__GNUC__ < 3) ) #if defined(BOOST_NO_TEMPLATED_IOSTREAMS) || ( defined(__GNUC__) && (__GNUC__ < 3) )
template<class Y> std::ostream & operator<< (std::ostream & os, shared_ptr<Y> const & p) template<class Y> std::ostream & operator<< (std::ostream & os, shared_ptr<Y> const & p)
{ {