Ticket #2371: boost_archive.patch
File boost_archive.patch, 2.4 KB (added by , 14 years ago) |
---|
-
basic_binary_iprimitive.hpp
122 122 // we provide an optimized load for all fundamental types 123 123 // typedef serialization::is_bitwise_serializable<mpl::_1> 124 124 // use_array_optimization; 125 #if defined(BOOST_NO_DEPENDENT_NESTED_DERIVATIONS) 125 126 struct use_array_optimization { 126 template <class T> 127 struct apply : public serialization::is_bitwise_serializable<T> {}; 127 template <class T> 128 struct apply 129 { 130 typedef typename boost::serialization::is_bitwise_serializable<T>::type type; 131 }; 128 132 }; 133 #else 134 struct use_array_optimization { 135 template <class T> 136 struct apply : public boost::serialization::is_bitwise_serializable<T> {}; 137 }; 138 #endif 129 139 130 140 // the optimized load_array dispatches to load_binary 131 141 template <class ValueType> -
basic_binary_oprimitive.hpp
118 118 // typedef serialization::is_bitwise_serializable<mpl::_1> 119 119 // use_array_optimization; 120 120 // workaround without using mpl lambdas 121 #if defined(BOOST_NO_DEPENDENT_NESTED_DERIVATIONS) 121 122 struct use_array_optimization { 122 123 template <class T> 124 struct apply 125 { 126 typedef typename boost::serialization::is_bitwise_serializable<T>::type type; 127 }; 128 }; 129 #else 130 struct use_array_optimization { 131 template <class T> 123 132 struct apply : public boost::serialization::is_bitwise_serializable<T> {}; 124 133 }; 125 134 #endif 126 135 127 136 // the optimized save_array dispatches to save_binary 128 137 template <class ValueType> -
detail/abi_suffix.hpp
8 8 9 9 // See http://www.boost.org for updates, documentation, and revision history. 10 10 11 #if defined( __BORLANDC__ )12 #pragma nopushoptwarn13 #endif14 15 11 #ifdef BOOST_MSVC 16 12 #pragma warning(pop) 17 13 #endif 18 14 #include <boost/config/abi_suffix.hpp> // pops abi_suffix.hpp pragmas 19 15 16 #if defined( __BORLANDC__ ) 17 #pragma nopushoptwarn 18 #endif 19