, , . Oarchive , , , ( ), "reset" , - .
, :
Oarchive (, ), :
boost::archive::binary_oarchive oa(s, boost::archive::no_codecvt | boost::archive::no_header);
, oarchive, . , , ints, floats .., , , .., , . Boost , - , :
oa.template register_type<std::string>();
oa.template register_type<MyClass>();
oa.template register_type<std::shared_ptr<MyClass> >();
.. , std::vectors , std:: shared_ptrs .. . , iarchive , .
, iarchive , oarchive ( , mpl, ).
iarchive iarchive, :
, , oarchive/iarchive , . , .