$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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<<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.