|
Boost : |
From: Robert Kawulak (kawulak_at_[hidden])
Date: 2007-08-24 08:49:58
> From: Neal Becker
> Why does bounded_int have parameters:
> bool LowerIncluded = true, bool UpperIncluded = true,
> But saturating_int does not have these parameters?
Saturating bounded objects make sense only for closed ranges - how could a
saturating object be assigned a value of one of the bounds on out-of-bounds
assignment, if the bounds would be excluded from the allowed range, and thus not
constraint-conforming?
I'll add a note on this to the docs. ;-)
Best regards,
Robert
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk