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




Boost list run by bdawes at, gregod at, cpdaniel at, john at