18 #ifndef INCLUDE_RCF_BSAUTOPTR_HPP 19 #define INCLUDE_RCF_BSAUTOPTR_HPP 23 #include <boost/serialization/split_free.hpp> 24 #include <boost/serialization/nvp.hpp> 29 namespace serialization {
31 template<
typename Archive,
typename T>
32 void serialize(Archive &ar, std::unique_ptr<T> &apt,
const unsigned int version)
34 split_free(ar, apt, version);
37 template<
typename Archive,
typename T>
38 void save(Archive &ar,
const std::unique_ptr<T> &apt,
const unsigned int)
41 ar & boost::serialization::make_nvp(
"Dummy", pt);
44 template<
typename Archive,
typename T>
45 void load(Archive &ar, std::unique_ptr<T> &apt,
const unsigned int)
48 ar & boost::serialization::make_nvp(
"Dummy", pt);
55 #endif // ! INCLUDE_RCF_BSAUTOPTR_HPP Definition: AsioFwd.hpp:26