On Thu, 10 Apr 2014 13:52:54 -0400, Tommi <[email protected]> wrote:
On Thursday, 10 April 2014 at 17:43:42 UTC, Steven Schveighoffer wrote:
[..]
Note that I could find useful disabling of const checks, or override
checks, or dynamic casts. It doesn't mean I should get a compiler
switch.
There's no point in turning off any safety / correctness checks that can
be performed at compile-time.
Unless they are warranted. See cast for instance.
But I could see an argument made for being able to disable any given
category of runtime safety checks.
As a compiler switch? I don't think it's worth it. -noboundscheck does
what it does for historical reasons, not logical.
-Steve