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


_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to