27 Dec
2005
27 Dec
'05
9:39 a.m.
Merrill Cornish wrote:
outArchive << BOOST_SERIALIZATION_NVP(testObj_out);
triggers an exception saying, "unrecognized XML syntax".
Try to put testObj_out inside a temporary variable.
Inside my code I do something like this:
std::string login = _wengoAccount->_wengoLogin;
ar << BOOST_SERIALIZATION_NVP(login);
Before I was doing:
ar << BOOST_SERIALIZATION_NVP(_wengoAccount->_wengoLogin);
And it was throwing an exception.
--
Tanguy Krotoff