27 Dec
2005
27 Dec
'05
4:16 p.m.
I wouldn't recommend this Tanguy Krotoff wrote:
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.
This would defeat any memory/identity tracking.
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.
Perhaps because there was a ">" character in the argument. Robert Ramey