When a programmer cares for integer overflow one can use Bounded!(T.min, T.max).

See mine extension of Adam's bounded.d:

https://github.com/nordlow/justd/blob/master/bound.d

I call it bound.d instead to save to characters :)

/Per

Reply via email to