Boost logo

Boost :

From: Russell Hind (rh_gmane_at_[hidden])
Date: 2005-05-16 11:16:54


Robert Ramey wrote:
>
>>2) Please add support for serialization to mersenne_twister.hpp. All
>>that's needed is this:
>>
>> template<class Archive>
>> void serialize(Archive & ar, const unsigned int version)
>> {
>> ar & x;
>> ar & i;
>> }
>
>

If these are added, could they use BOOST_SERIALIZATION_NVP(x) and
BOOST_SERIALIZATION_NVP(i) otherwise they won't work with XML archives.

Cheers

Russell


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk