/////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
// interface_oarchive.hpp
-// (C) Copyright 2002 Robert Ramey - http://www.rrsd.com .
+// (C) Copyright 2002 Robert Ramey - http://www.rrsd.com .
// Use, modification and distribution is subject to the Boost Software
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
class basic_pointer_oserializer;
template<class Archive>
-class interface_oarchive
+class interface_oarchive
{
protected:
interface_oarchive(){};
}
template<class T>
- const basic_pointer_oserializer *
+ const basic_pointer_oserializer *
register_type(const T * = NULL){
const basic_pointer_oserializer & bpos =
boost::serialization::singleton<
this->This()->register_basic_serializer(bpos.get_basic_serializer());
return & bpos;
}
-
+
template<class Helper>
Helper &
get_helper(void * const id = 0){
this->This()->save_override(t);
return * this->This();
}
-
- // the & operator
+
+ // the & operator
template<class T>
Archive & operator&(const T & t){
return * this ->This() << t;