
24 Oct
2009
24 Oct
'09
3:47 a.m.
Ben wrote:
{ std::ifstream ifs(fname); boost::archive::binary_iarchive ar(ifs); ar >> static_cast(a2p); }
You're trying to write to an rvalue. Note that
int *ip = 0;
static_cast