Boost logo

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

I'll add a note on this to the docs. ;-)

Best regards,

Boost list run by bdawes at, gregod at, cpdaniel at, john at