|
Boost-Commit : |
From: pdimov_at_[hidden]
Date: 2008-04-21 19:01:51
Author: pdimov
Date: 2008-04-21 19:01:51 EDT (Mon, 21 Apr 2008)
New Revision: 44707
URL: http://svn.boost.org/trac/boost/changeset/44707
Log:
Honor BOOST_NO_TEMPLATED_IOSTREAMS.
Text files modified:
trunk/boost/shared_ptr.hpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/boost/shared_ptr.hpp
==============================================================================
--- trunk/boost/shared_ptr.hpp (original)
+++ trunk/boost/shared_ptr.hpp 2008-04-21 19:01:51 EDT (Mon, 21 Apr 2008)
@@ -634,7 +634,7 @@
#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)
{
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk