Boost logo

Boost-Commit :

From: ramey_at_[hidden]
Date: 2008-04-07 13:23:08


Author: ramey
Date: 2008-04-07 13:23:07 EDT (Mon, 07 Apr 2008)
New Revision: 44096
URL: http://svn.boost.org/trac/boost/changeset/44096

Log:
changed type traits macro to BOOST_TT_BROKEN_COMPILER_SPEC
Text files modified:
   trunk/boost/archive/detail/abi_suffix.hpp | 8 ++++----
   trunk/boost/archive/detail/basic_iarchive.hpp | 7 ++++---
   trunk/boost/archive/detail/basic_oarchive.hpp | 4 ++--
   3 files changed, 10 insertions(+), 9 deletions(-)

Modified: trunk/boost/archive/detail/abi_suffix.hpp
==============================================================================
--- trunk/boost/archive/detail/abi_suffix.hpp (original)
+++ trunk/boost/archive/detail/abi_suffix.hpp 2008-04-07 13:23:07 EDT (Mon, 07 Apr 2008)
@@ -8,12 +8,12 @@
 
 // See http://www.boost.org for updates, documentation, and revision history.
 
+#if defined( __BORLANDC__ )
+#pragma nopushoptwarn
+#endif
+
 #ifdef BOOST_MSVC
 #pragma warning(pop)
 #endif
 #include <boost/config/abi_suffix.hpp> // pops abi_suffix.hpp pragmas
 
-#if defined( __BORLANDC__ )
-#pragma nopushoptwarn
-#endif
-

Modified: trunk/boost/archive/detail/basic_iarchive.hpp
==============================================================================
--- trunk/boost/archive/detail/basic_iarchive.hpp (original)
+++ trunk/boost/archive/detail/basic_iarchive.hpp 2008-04-07 13:23:07 EDT (Mon, 07 Apr 2008)
@@ -20,6 +20,7 @@
 // #include <boost/scoped_ptr.hpp>
 
 #include <boost/config.hpp>
+#include <boost/type_traits/broken_compiler_spec.hpp>
 #include <boost/serialization/tracking_enum.hpp>
 #include <boost/archive/basic_archive.hpp>
 #include <boost/archive/detail/decl.hpp>
@@ -98,9 +99,9 @@
 
 // required by smart_cast for compilers not implementing
 // partial template specialization
-BOOST_BROKEN_COMPILER_TYPE_TRAITS_SPECIALIZATION(
- boost::archive::detail::basic_iarchive
-)
+BOOST_TT_BROKEN_COMPILER_SPEC(
+ boost::archive::detail::basic_iarchive
+)
 
 #include <boost/archive/detail/abi_suffix.hpp> // pops abi_suffix.hpp pragmas
 

Modified: trunk/boost/archive/detail/basic_oarchive.hpp
==============================================================================
--- trunk/boost/archive/detail/basic_oarchive.hpp (original)
+++ trunk/boost/archive/detail/basic_oarchive.hpp 2008-04-07 13:23:07 EDT (Mon, 07 Apr 2008)
@@ -17,7 +17,7 @@
 // See http://www.boost.org for updates, documentation, and revision history.
 
 #include <boost/config.hpp>
-#include <boost/detail/workaround.hpp>
+#include <boost/type_traits/broken_compiler_spec.hpp>
 
 // can't use this - much as I'd like to as borland doesn't support it
 // #include <boost/scoped_ptr.hpp>
@@ -93,7 +93,7 @@
 
 // required by smart_cast for compilers not implementing
 // partial template specialization
-BOOST_BROKEN_COMPILER_TYPE_TRAITS_SPECIALIZATION(
+BOOST_TT_BROKEN_COMPILER_SPEC(
     boost::archive::detail::basic_oarchive
 )
 


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