Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r52635 - trunk/boost/archive/detail
From: ramey_at_[hidden]
Date: 2009-04-27 19:07:25


Author: ramey
Date: 2009-04-27 19:07:22 EDT (Mon, 27 Apr 2009)
New Revision: 52635
URL: http://svn.boost.org/trac/boost/changeset/52635

Log:
Correct USE_NEW_OPERATOR logic for borland
Text files modified:
   trunk/boost/archive/detail/iserializer.hpp | 4 ++--
   trunk/boost/archive/detail/oserializer.hpp | 5 -----
   2 files changed, 2 insertions(+), 7 deletions(-)

Modified: trunk/boost/archive/detail/iserializer.hpp
==============================================================================
--- trunk/boost/archive/detail/iserializer.hpp (original)
+++ trunk/boost/archive/detail/iserializer.hpp 2009-04-27 19:07:22 EDT (Mon, 27 Apr 2009)
@@ -47,14 +47,14 @@
 #include <boost/serialization/assume_abstract.hpp>
 #include <boost/type_traits/is_polymorphic.hpp>
 
-#define NO_HAS_NEW_OPERATOR ( \
+#define DONT_USE_HAS_NEW_OPERATOR ( \
     defined(__BORLANDC__) \
     || defined(__IBMCPP__) \
     || defined(BOOST_MSVC) && (BOOST_MSVC <= 1300) \
     || defined(__SUNPRO_CC) && (__SUBPRO_CC < 0x590) \
 )
 
-#if ! NO_USE_HAS_NEW_OPERATOR
+#if ! DONT_USE_HAS_NEW_OPERATOR
 #include <boost/type_traits/has_new_operator.hpp>
 #endif
 

Modified: trunk/boost/archive/detail/oserializer.hpp
==============================================================================
--- trunk/boost/archive/detail/oserializer.hpp (original)
+++ trunk/boost/archive/detail/oserializer.hpp 2009-04-27 19:07:22 EDT (Mon, 27 Apr 2009)
@@ -34,22 +34,17 @@
 
 #include <boost/type_traits/is_pointer.hpp>
 #include <boost/type_traits/is_enum.hpp>
-//#include <boost/type_traits/is_volatile.hpp>
 #include <boost/type_traits/is_const.hpp>
-//#include <boost/type_traits/is_same.hpp>
 #include <boost/type_traits/is_polymorphic.hpp>
 #include <boost/type_traits/remove_extent.hpp>
 #include <boost/serialization/assume_abstract.hpp>
 
 #include <boost/mpl/eval_if.hpp>
 #include <boost/mpl/and.hpp>
-//#include <boost/mpl/less.hpp>
 #include <boost/mpl/greater_equal.hpp>
 #include <boost/mpl/equal_to.hpp>
 #include <boost/mpl/int.hpp>
 #include <boost/mpl/identity.hpp>
-//#include <boost/mpl/list.hpp>
-//#include <boost/mpl/empty.hpp>
 #include <boost/mpl/not.hpp>
 
  #ifndef BOOST_SERIALIZATION_DEFAULT_TYPE_INFO


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