Boost logo

Boost Users :

Subject: Re: [Boost-users] Map Binary archive problem May be a bug?
From: Robert Ramey (ramey_at_[hidden])
Date: 2014-10-24 11:48:01


Try making the following change:

...
ofstream ofs("test", "b"); // open stream for binary output
binary_oarchive oa(ofs);
oa<&lt;myMap;
ofs.close();
ofs.clear();
myMap.clear();
...

Robert Ramey

--
View this message in context: http://boost.2283326.n4.nabble.com/Map-Binary-archive-problem-May-be-a-bug-tp4668468p4668470.html
Sent from the Boost - Users mailing list archive at Nabble.com.

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net