$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] patch to serialize mersenne_twister
From: Neal Becker (ndbecker2_at_[hidden])
Date: 2008-10-29 11:19:52
joaquin_at_[hidden] wrote:
> 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
Since it wants private access into the class, how would you package it as a separate header?