Boost logo

Boost :

From: Jens Maurer (Jens.Maurer_at_[hidden])
Date: 2004-02-08 18:20:12


Cromwell Enage wrote:
> The boost::uniform_int random number generator in
> Boost.Random was compatible with the BGL random
> algorithms in version 1.30.2 but can no longer be
> directly passed to them in version 1.31.0. Should I
> work around this issue, as I'm currently doing, or
> will there be some sort of fix?

Please read the (update) random docs.

You probably want to pass in a boost::random::variate_generator<>,
suitably initialized.

Jens Maurer


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