Boost logo

Boost :

From: Christoph Ludwig (cludwig_at_[hidden])
Date: 2004-11-05 02:32:42


On Thu, Nov 04, 2004 at 01:12:29PM -0500, Neal D. Becker wrote:
> I know I've mentioned this before. I'd really like to see this tiny bit of
> code added to mersenne_twister:
>
> template<class Archive>
> void serialize(Archive & ar, const unsigned int version)
> {
> ar & x;
> ar & i;
> }
>
>
> This would make it very easy to use our new serialization library with
> mersenne_twister. It costs nothing if you don't use it. If you are really
> paranoid, it could be surrounded by an #ifdef.

FWIW, I second the request for serialization support in
mersenne_twister. For now I make do with a poor man's workaround, but
I'd appreciate if there were a "clean" way to serialize
mersenne_twister.

Regards

Christoph

-- 
http://www.informatik.tu-darmstadt.de/TI/Mitarbeiter/cludwig.html
LiDIA: http://www.informatik.tu-darmstadt.de/TI/LiDIA/Welcome.html

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