Boost logo

Boost :

Subject: Re: [boost] patch to serialize mersenne_twister
From: joaquin_at_[hidden]
Date: 2008-10-29 10:29:36


Neal Becker escribió:
> Please consider adding this patch to add serialization to mersenne_twister. Since it is only active if BOOST_SERIALIZE_TWISTER is defined, it is completely harmless to those who don't use it.
>

There was a discussion in the past about how to provide serialization
capabilities and the general opinion was that this is better packaged as
a separate header when feasible, something like

boost/random/mersenne_twister_serialize.hpp

or

boost/random/mersenne_twister/serialize.hpp

or similar. BTW, it'd be good if we could reach a naming consensus for
these serialization files. My favorite is:

 boost/.../xxx.hpp provides serialization capabilities at
 boost/.../xxx/serialize.hpp

Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo


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