uuid_serialize.hpp 951 B

12345678910111213141516171819202122232425262728293031
  1. // Boost uuid_serialize.hpp header file ----------------------------------------------//
  2. // Copyright 2007 Andy Tompkins.
  3. // Distributed under the Boost Software License, Version 1.0. (See
  4. // accompanying file LICENSE_1_0.txt or copy at
  5. // https://www.boost.org/LICENSE_1_0.txt)
  6. // Revision History
  7. // 12 Nov 2007 - Initial Revision
  8. // 25 Feb 2008 - moved to namespace boost::uuids::detail
  9. #ifndef BOOST_UUID_SERIALIZE_HPP
  10. #define BOOST_UUID_SERIALIZE_HPP
  11. #include <boost/uuid/uuid.hpp>
  12. #include <boost/type_traits/integral_constant.hpp>
  13. // BOOST_CLASS_IMPLEMENTATION(boost::uuids::uuid, boost::serialization::primitive_type)
  14. namespace boost
  15. {
  16. namespace serialization
  17. {
  18. template<class T> struct implementation_level_impl;
  19. template<> struct implementation_level_impl<const uuids::uuid>: boost::integral_constant<int, 1> {};
  20. } // namespace serialization
  21. } // namespace boost
  22. #endif // BOOST_UUID_SERIALIZE_HPP