
12 Oct
2017
12 Oct
'17
9:07 a.m.
On 05-10-17 19:41, Adlai Shawareb via Boost wrote:
std::stringstream ss_; boost::archive::text_oarchive oa(ss_, boost::archive::no_header); oa << &object;
If you can't write directly to a file, just use `back_insert_device` with a properly reserved container (std::string or std::vector<char> for example): http://www.boost.org/doc/libs/1_65_1/libs/iostreams/doc/classes/back_inserte...