Boost logo

Boost :

From: Damien Fisher (damien_at_[hidden])
Date: 2003-10-09 08:38:51


Why must min be strictly less than max in boost::uniform_int?

I admit that the case of min = max is rather trivial and distinctly
non-random, but nevertheless it would be useful (to me, at any rate) to
have boost::uniform_int handle this case -- otherwise I have to have an
ugly check in my code.

Damien


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