$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Robert Ramey (ramey_at_[hidden])
Date: 2005-12-27 11:16:32
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