vector_135.hpp 942 B

1234567891011121314151617181920212223242526
  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. // (C) Copyright 2008 Matthias Troyer
  5. // Use, modification and distribution is subject to the Boost Software
  6. // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
  7. // http://www.boost.org/LICENSE_1_0.txt)
  8. // See http://www.boost.org for updates, documentation, and revision history.
  9. #ifndef BOOST_SERIALIZATION_VECTOR_135_HPP
  10. #define BOOST_SERIALIZATION_VECTOR_135_HPP
  11. #ifdef BOOST_SERIALIZATION_VECTOR_VERSIONED
  12. #if BOOST_SERIALIZATION_VECTOR_VERSION != 4
  13. #error "Boost.Serialization cannot be compatible with both 1.35 and 1.36-1.40 files"
  14. #endif
  15. #else
  16. #define BOOST_SERIALIZATION_VECTOR_VERSIONED(V) (V>4)
  17. #endif
  18. #include <boost/serialization/vector.hpp>
  19. #endif // BOOST_SERIALIZATION_VECTOR_135_HPP