Brian Silverman | 8867871 | 2018-08-04 23:56:48 -0700 | [diff] [blame^] | 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 |
| 4 | |
| 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) |
| 9 | |
| 10 | // See http://www.boost.org for updates, documentation, and revision history. |
| 11 | |
| 12 | |
| 13 | #ifndef BOOST_SERIALIZATION_VECTOR_135_HPP |
| 14 | #define BOOST_SERIALIZATION_VECTOR_135_HPP |
| 15 | |
| 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" |
| 19 | #endif |
| 20 | #else |
| 21 | #define BOOST_SERIALIZATION_VECTOR_VERSIONED(V) (V>4) |
| 22 | #endif |
| 23 | |
| 24 | #include <boost/serialization/vector.hpp> |
| 25 | |
| 26 | #endif // BOOST_SERIALIZATION_VECTOR_135_HPP |