Why no implicit cast operators?

Simen Kjaeraas simen.kjaras at gmail.com
Mon Aug 6 06:53:23 PDT 2012


On Mon, 06 Aug 2012 15:29:47 +0200, Tommi <tommitissari at hotmail.com> wrote:

> If you use alias this to _reveal_
> the internal int value of SafeInt, then that int value's default
> operators are used, and thus no overflow checking.

No.

-- 
Simen


More information about the Digitalmars-d mailing list