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