Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r86121 - trunk/boost/serialization/detail
From: steveire_at_[hidden]
Date: 2013-10-01 05:53:25


Author: skelly
Date: 2013-10-01 05:53:25 EDT (Tue, 01 Oct 2013)
New Revision: 86121
URL: http://svn.boost.org/trac/boost/changeset/86121

Log:
Serialization: Remove obsolete GCC version checks.

Text files modified:
   trunk/boost/serialization/detail/shared_ptr_132.hpp | 14 +-------------
   1 files changed, 1 insertions(+), 13 deletions(-)

Modified: trunk/boost/serialization/detail/shared_ptr_132.hpp
==============================================================================
--- trunk/boost/serialization/detail/shared_ptr_132.hpp Tue Oct 1 05:53:08 2013 (r86120)
+++ trunk/boost/serialization/detail/shared_ptr_132.hpp 2013-10-01 05:53:25 EDT (Tue, 01 Oct 2013) (r86121)
@@ -406,16 +406,6 @@
 
 // operator<<
 
-#if defined(__GNUC__) && (__GNUC__ < 3)
-
-template<class Y> std::ostream & operator<< (std::ostream & os, shared_ptr<Y> const & p)
-{
- os << p.get();
- return os;
-}
-
-#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)
 {
@@ -423,11 +413,9 @@
     return os;
 }
 
-#endif
-
 // get_deleter (experimental)
 
-#if (defined(__GNUC__) && (__GNUC__ < 3)) || (defined(__EDG_VERSION__) && (__EDG_VERSION__ <= 238))
+#if defined(__EDG_VERSION__) && (__EDG_VERSION__ <= 238)
 
 // g++ 2.9x doesn't allow static_cast<X const *>(void *)
 // apparently EDG 2.38 also doesn't accept it


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