|
Boost : |
From: Kevin S. Van Horn (kvanhorn_at_[hidden])
Date: 2003-01-28 20:54:01
The uniform_smallint class template has a ctor that takes a min and max
value. The documentation does not disallow min == max, and indeed there
are cases where it is convenient to allow this in order to avoid having
to write special cases in user code. Nevertheless, the implementation
disallows min == max: it has an assert(min < max) at the top of the
ctor body. I request that this be changed to assert(min <= max).
-- Kevin S. Van Horn
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk