24 Apr
2007
24 Apr
'07
11:14 p.m.
On Tuesday, April 24, 2007 at 16:07:03 (-0700) Oleg V. Zhylin writes:
... // If your program fails to compile here, its most likely due to // not specifying an nvp wrapper around the variable to // be serialized.
I believe you need the BOOST_SERIALIZATION_NVP wrapper, here:
ar & i;
around i, thus: ar & BOOST_SERIALIZATION_NVP(i); Bill