|
Boost Users : |
From: Tanguy Krotoff (tanguy.krotoff_at_[hidden])
Date: 2005-12-27 04:39:58
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 <tanguy.krotoff_at_[hidden]> http://dev.openwengo.com
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net