string.hpp 976 B

123456789101112131415161718192021222324252627282930
  1. #ifndef BOOST_SERIALIZATION_STRING_HPP
  2. #define BOOST_SERIALIZATION_STRING_HPP
  3. // MS compatible compilers support #pragma once
  4. #if defined(_MSC_VER)
  5. # pragma once
  6. #endif
  7. /////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
  8. // serialization/string.hpp:
  9. // serialization for stl string templates
  10. // (C) Copyright 2002 Robert Ramey - http://www.rrsd.com .
  11. // Use, modification and distribution is subject to the Boost Software
  12. // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
  13. // http://www.boost.org/LICENSE_1_0.txt)
  14. // See http://www.boost.org for updates, documentation, and revision history.
  15. #include <string>
  16. #include <boost/config.hpp>
  17. #include <boost/serialization/level.hpp>
  18. BOOST_CLASS_IMPLEMENTATION(std::string, boost::serialization::primitive_type)
  19. #ifndef BOOST_NO_STD_WSTRING
  20. BOOST_CLASS_IMPLEMENTATION(std::wstring, boost::serialization::primitive_type)
  21. #endif
  22. #endif // BOOST_SERIALIZATION_STRING_HPP