Re: Integer Overflow

"jacob navia" <jacob@xxxxxxxxxxxx> wrote in message
Le 30/12/10 22:26, tm a écrit :

I propose intoducing new types with overflow checking.
The classic types int, long, ... would keep the
behaviour of ignoring overflow. New types like
checkd_int, checkd_long could be used for values which
need overflow checking.

This is just too complicated, besides what does
checked_int*int ? Unchecked? checked?

Ref: C++ SafeInt. It's already been done, questions already answered.