19 #ifndef INCLUDE_RCF_BSAUTOPTR_HPP
20 #define INCLUDE_RCF_BSAUTOPTR_HPP
24 #include <boost/serialization/split_free.hpp>
25 #include <boost/serialization/nvp.hpp>
30 namespace serialization {
32 template<
typename Archive,
typename T>
33 void serialize(Archive &ar, std::auto_ptr<T> &apt,
const unsigned int version)
35 split_free(ar, apt, version);
38 template<
typename Archive,
typename T>
39 void save(Archive &ar,
const std::auto_ptr<T> &apt,
const unsigned int)
42 ar & boost::serialization::make_nvp(
"Dummy", pt);
45 template<
typename Archive,
typename T>
46 void load(Archive &ar, std::auto_ptr<T> &apt,
const unsigned int)
49 ar & boost::serialization::make_nvp(
"Dummy", pt);
56 #endif // ! INCLUDE_RCF_BSAUTOPTR_HPP