Revert "SmartPtr: Remove obsolete MSVC version checks."

This reverts commit 7d1c527ac0.
This commit is contained in:
Peter Dimov committed 2013-12-07 19:25:05 +02:00
1 parent 832ed079b9
commit a4f853bfbc
7 files changed
+37 -2

No files matched your search

+6
View File
@@ -849,7 +849,13 @@ template<class Y> std::ostream & operator<< (std::ostream & os, shared_ptr<Y> co
// in STLport's no-iostreams mode no iostream symbols can be used
#ifndef _STLP_NO_IOSTREAMS
# if defined(BOOST_MSVC) && BOOST_WORKAROUND(BOOST_MSVC, < 1300 && __SGI_STL_PORT)
// MSVC6 has problems finding std::basic_ostream through the using declaration in namespace _STL
using std::basic_ostream;
template<class E, class T, class Y> basic_ostream<E, T> & operator<< (basic_ostream<E, T> & os, shared_ptr<Y> const & p)
# else
template<class E, class T, class Y> std::basic_ostream<E, T> & operator<< (std::basic_ostream<E, T> & os, shared_ptr<Y> const & p)
# endif
{
os << p.get();
return os;