1 ////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
2 // vector_135.hpp: serialization for stl vector templates for compatibility
3 // with release 1.35, which had a bug
5 // (C) Copyright 2008 Matthias Troyer
6 // Use, modification and distribution is subject to the Boost Software
7 // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
8 // http://www.boost.org/LICENSE_1_0.txt)
10 // See http://www.boost.org for updates, documentation, and revision history.
13 #ifndef BOOST_SERIALIZATION_VECTOR_135_HPP
14 #define BOOST_SERIALIZATION_VECTOR_135_HPP
16 #ifdef BOOST_SERIALIZATION_VECTOR_VERSIONED
17 #if BOOST_SERIALIZATION_VECTOR_VERSION != 4
18 #error "Boost.Serialization cannot be compatible with both 1.35 and 1.36-1.40 files"
21 #define BOOST_SERIALIZATION_VECTOR_VERSIONED(V) (V>4)
24 #include <boost/serialization/vector.hpp>
26 #endif // BOOST_SERIALIZATION_VECTOR_135_HPP