Boost logo

Boost :

From: Neal Becker (ndbecker2_at_[hidden])
Date: 2005-10-20 13:58:13


I'm very impressed by Robert Kawulak's contrained_types. I'm mostly
interested in contrained integral types.

constrained_types appears to concentrate on types whose bounds are specified
at compile time (integral constant template parameters). I'm more
interested in bound specified at runtime. I believe (without proof) that
for many applications there will be little performance difference. I say
this because I'm expecting in many (most?) cases the actual integral values
will be known to the compiler.

Has any thought been given to adding this? Or, perhaps even making this the
default bounded_int, (wrapping_int, etc.) type?


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