
5 Nov
2004
5 Nov
'04
1:03 p.m.
Masaki Nomura wrote:
Dear all: Would anyone let me know the usage of the boost::uniform_int combined with the one argument operator() of the variate_generator?
In uniform_int.hpp: template<class Engine> result_type operator()(Engine& eng) The paramenter is engine, not an integer. You pass the mersenne_twister rng here.