Overflows in Phobos
ketmar via Digitalmars-d
digitalmars-d at puremagic.com
Tue Jul 26 07:36:47 PDT 2016
On Tuesday, 26 July 2016 at 14:28:48 UTC, Timon Gehr wrote:
> "The expression assert(0) is a special case; it signifies that
> it is unreachable code. [...] The optimization and code
> generation phases of compilation may assume that it is
> unreachable code."
so specs should be fixed. i bet everyone is using `assert(0);` to
mark some "immediate error exit" cases.
More information about the Digitalmars-d
mailing list