diff DEPENDENCIES/generic/include/boost/serialization/base_object.hpp @ 101:c530137014c0

Update Boost headers (1.58.0)
author Chris Cannam
date Mon, 07 Sep 2015 11:12:49 +0100
parents 2665513ce2d3
children
line wrap: on
line diff
--- a/DEPENDENCIES/generic/include/boost/serialization/base_object.hpp	Fri Sep 04 12:01:02 2015 +0100
+++ b/DEPENDENCIES/generic/include/boost/serialization/base_object.hpp	Mon Sep 07 11:12:49 2015 +0100
@@ -2,7 +2,7 @@
 #define BOOST_SERIALIZATION_BASE_OBJECT_HPP
 
 // MS compatible compilers support #pragma once
-#if defined(_MSC_VER) && (_MSC_VER >= 1020)
+#if defined(_MSC_VER)
 # pragma once
 #endif
 
@@ -48,7 +48,7 @@
     template<class B, class D>
     struct base_cast
     {
-        typedef BOOST_DEDUCED_TYPENAME
+        typedef typename
         mpl::if_<
             is_const<D>,
             const B,
@@ -74,7 +74,7 @@
             }
         };
         static void const * invoke(){
-            typedef BOOST_DEDUCED_TYPENAME mpl::eval_if<
+            typedef typename mpl::eval_if<
                 is_polymorphic<Base>,
                 mpl::identity<polymorphic>,
                 mpl::identity<non_polymorphic>
@@ -95,12 +95,12 @@
 }
 #else
 template<class Base, class Derived>
-BOOST_DEDUCED_TYPENAME detail::base_cast<Base, Derived>::type & 
+typename detail::base_cast<Base, Derived>::type & 
 base_object(Derived &d)
 {
     BOOST_STATIC_ASSERT(( is_base_and_derived<Base,Derived>::value));
     BOOST_STATIC_ASSERT(! is_pointer<Derived>::value);
-    typedef BOOST_DEDUCED_TYPENAME detail::base_cast<Base, Derived>::type type;
+    typedef typename detail::base_cast<Base, Derived>::type type;
     detail::base_register<type, Derived>::invoke();
     return access::cast_reference<type, Derived>(d);
 }