Boost logo

Boost :

From: Masaki Nomura (nomura_at_[hidden])
Date: 2004-11-06 08:49:03


Thanks for your comment.

> 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.
I checked the header file in my system. As you pointed it out, I did not find
the function; operator()( Engine& eng, int ).
I think this is something inconsistent with the online document,
http://www.boost.org/libs/random/random-distributions.html#uniform_int,
which I read before using the library.
Or, I still have further misunderstandings?

With best regards,
Masaki Nomura


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