
12 Jan
2016
12 Jan
'16
7:30 p.m.
On 1/12/16 11:05 AM, Robert Ramey wrote: Oops
x = y
is checked at compile time that the range of x is compared to the range of y.
if the range of x includes that of y - there is no runtime checking as is unnecessary.
if the the ranges of x and y do not intersect - there's a static assert.
otherwise, there is a check at runtime which guarantees that y is in the specified legal range for x Robert Ramey