Ticket #1747: archive.patch
File archive.patch, 2.2 KB (added by , 15 years ago) |
---|
-
array/iarchive.hpp
66 66 // the optimized implementation for vector uses serialization::array 67 67 template<class ValueType, class Allocator> 68 68 void load_optimized( 69 std::vector<ValueType, Allocator> &t, unsigned int version, mpl::true_)69 std::vector<ValueType, Allocator> &t, unsigned int /*version*/, mpl::true_) 70 70 { 71 71 t.clear(); 72 72 // retrieve number of elements -
basic_streambuf_locale_saver.hpp
49 49 void restore() 50 50 { s_save_.pubimbue( a_save_ ); } 51 51 private: 52 basic_streambuf_locale_saver& operator=(const basic_streambuf_locale_saver&); 53 private: 52 54 state_type & s_save_; 53 55 aspect_type const a_save_; 54 56 }; -
detail/common_iarchive.hpp
60 60 } 61 61 // default implementations of functions which emit start/end tags for 62 62 // archive types that require them. 63 void load_start(const char * name){}64 void load_end(const char * name){}63 void load_start(const char * /*name*/){} 64 void load_end(const char * /*name*/){} 65 65 // default archive initialization 66 66 common_iarchive(unsigned int flags = 0) : 67 67 basic_iarchive(flags), -
detail/common_oarchive.hpp
63 63 void save_override(T & t, BOOST_PFTO int){ 64 64 archive::save(* this->This(), t); 65 65 } 66 void save_start(const char * name){}67 void save_end(const char * name){}66 void save_start(const char * /*name*/){} 67 void save_end(const char * /*name*/){} 68 68 common_oarchive(unsigned int flags = 0) : 69 69 basic_oarchive(flags), 70 70 interface_oarchive<Archive>()