Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r86589 - in trunk/libs/serialization: example test
From: ramey_at_[hidden]
Date: 2013-11-08 16:23:37


Author: ramey
Date: 2013-11-08 16:23:37 EST (Fri, 08 Nov 2013)
New Revision: 86589
URL: http://svn.boost.org/trac/boost/changeset/86589

Log:
fix up of issues created by removal of support for older compilers

Text files modified:
   trunk/libs/serialization/example/log_archive.hpp | 7 +++++++
   trunk/libs/serialization/test/test_map.cpp | 2 --
   trunk/libs/serialization/test/test_shared_ptr_132.cpp | 2 --
   trunk/libs/serialization/test/test_smart_cast.cpp | 8 --------
   4 files changed, 7 insertions(+), 12 deletions(-)

Modified: trunk/libs/serialization/example/log_archive.hpp
==============================================================================
--- trunk/libs/serialization/example/log_archive.hpp Fri Nov 8 16:08:55 2013 (r86588)
+++ trunk/libs/serialization/example/log_archive.hpp 2013-11-08 16:23:37 EST (Fri, 08 Nov 2013) (r86589)
@@ -18,6 +18,13 @@
 
 #include <boost/archive/xml_oarchive.hpp>
 
+namespace boost {
+namespace archive {
+ namespace detail {
+ template<class Archive> class interface_oarchive;
+ } // namespace detail
+} // namespace archive
+
 /////////////////////////////////////////////////////////////////////////
 // log data to an output stream. This illustrates a simpler implemenation
 // of text output which is useful for getting a formatted display of

Modified: trunk/libs/serialization/test/test_map.cpp
==============================================================================
--- trunk/libs/serialization/test/test_map.cpp Fri Nov 8 16:08:55 2013 (r86588)
+++ trunk/libs/serialization/test/test_map.cpp 2013-11-08 16:23:37 EST (Fri, 08 Nov 2013) (r86589)
@@ -57,8 +57,6 @@
     }
 };
 
-BOOST_BROKEN_COMPILER_TYPE_TRAITS_SPECIALIZATION(random_key)
-
 void
 test_map(){
     const char * testfile = boost::archive::tmpnam(NULL);

Modified: trunk/libs/serialization/test/test_shared_ptr_132.cpp
==============================================================================
--- trunk/libs/serialization/test/test_shared_ptr_132.cpp Fri Nov 8 16:08:55 2013 (r86588)
+++ trunk/libs/serialization/test/test_shared_ptr_132.cpp 2013-11-08 16:23:37 EST (Fri, 08 Nov 2013) (r86589)
@@ -56,7 +56,6 @@
     virtual ~A(){--count;} // default destructor
 };
 
-BOOST_BROKEN_COMPILER_TYPE_TRAITS_SPECIALIZATION(A)
 BOOST_SERIALIZATION_SHARED_PTR(A)
 
 // B is a subclass of A
@@ -82,7 +81,6 @@
 
 // B needs to be exported because its serialized via a base class pointer
 BOOST_SHARED_POINTER_EXPORT(B)
-BOOST_BROKEN_COMPILER_TYPE_TRAITS_SPECIALIZATION(B)
 BOOST_SERIALIZATION_SHARED_PTR(B)
 
 int A::count = 0;

Modified: trunk/libs/serialization/test/test_smart_cast.cpp
==============================================================================
--- trunk/libs/serialization/test/test_smart_cast.cpp Fri Nov 8 16:08:55 2013 (r86588)
+++ trunk/libs/serialization/test/test_smart_cast.cpp 2013-11-08 16:23:37 EST (Fri, 08 Nov 2013) (r86589)
@@ -39,10 +39,6 @@
 #pragma warning(pop)
 #endif
 
-BOOST_BROKEN_COMPILER_TYPE_TRAITS_SPECIALIZATION(Base1)
-BOOST_BROKEN_COMPILER_TYPE_TRAITS_SPECIALIZATION(Base2)
-BOOST_BROKEN_COMPILER_TYPE_TRAITS_SPECIALIZATION(Derived)
-
 // if compiler doesn't support TPS, the smart_cast syntax doesn't
 // work for references. One has to use the smart_cast_reference
 // syntax (tested below ) instead.
@@ -151,10 +147,6 @@
 #pragma warning(pop)
 #endif
 
-BOOST_BROKEN_COMPILER_TYPE_TRAITS_SPECIALIZATION(VBase1)
-BOOST_BROKEN_COMPILER_TYPE_TRAITS_SPECIALIZATION(VBase2)
-BOOST_BROKEN_COMPILER_TYPE_TRAITS_SPECIALIZATION(VDerived)
-
 // see above
 
 void test_dynamic_reference_cast_2(){


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