From: Jens Maurer (Jens.Maurer_at_[hidden])
Date: 2005-05-19 16:35:23
I've checked in changes to the Boost.Random library that add
constructors and seeding for both
template<class Generator> and unsigned long
arguments, thereby moving Boost.Random one step further towards TR1
The random_test.cpp program now has basic tests for this feature.
In order to guide overload resolution, I've used boost::enable_if<>
and type traits to make sure that integral arguments don't
try to call the "template<class Generator>" overloads. This could
mean decreased compiler support, sorry.
It works for me with gcc 3.4.3.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk