
15 Mar
2012
15 Mar
'12
7:04 a.m.
Matthias Vallentin wrote:
This looks to me to some issue with boost::io_streams. Try your example with a regular stream (e.g. std::fostream).
Same error with a regular stream, here's the current example:
#include <fstream> #include
#include #include int main() { std::vector<char> v; std::ofstream f("/tmp/foo"); boost::archive::text_oarchive oa(f);
const boost::uuids::uuid id = boost::uuids::random_generator()(); // try const oa << id;
return 0; }
Matthias _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users