Subject: Re: [boost] [integer] Type-safe and bounded integers with compile-time checking
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2011-09-05 10:57:04
On 05/09/2011 14:29, Leif Linderstam wrote:
> They produce new ranges, e.g. for the addition A + B the range of the
> result is [ A_low + B_low, A_high + B_high ] where A_low is the lower
> bound of A's range, and so on.
Ok, but that would very quickly lead to very big ranges.
What happens when that range goes beyond the range supported by the
underlying int type?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk