Patch #1551992 (Michael Fink)

[SVN r35882]
This commit is contained in:
Peter Dimov
2006-11-06 17:25:59 +00:00
parent ebc0af9147
commit 4a98c2931c
2 changed files with 12 additions and 2 deletions

View File

@ -249,6 +249,9 @@ template<class Y> std::ostream & operator<< (std::ostream & os, intrusive_ptr<Y>
#else
// 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;
@ -261,7 +264,9 @@ template<class E, class T, class Y> std::basic_ostream<E, T> & operator<< (std::
return os;
}
#endif
#endif // _STLP_NO_IOSTREAMS
#endif // __GNUC__ < 3
} // namespace boost

View File

@ -504,6 +504,9 @@ template<class Y> std::ostream & operator<< (std::ostream & os, shared_ptr<Y> co
#else
// 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;
@ -516,7 +519,9 @@ template<class E, class T, class Y> std::basic_ostream<E, T> & operator<< (std::
return os;
}
#endif
#endif // _STLP_NO_IOSTREAMS
#endif // __GNUC__ < 3
// get_deleter (experimental)