Assert and undefined behavior

Jonathan M Davis newsgroup.d at jmdavisprog.com
Sat Oct 14 07:00:25 UTC 2017


On Saturday, October 14, 2017 05:20:47 Jesse Phillips via Digitalmars-d-
learn wrote:
> The point is assert tells the compiler something it can use to
> reason about its job, not that it can insert additional runtime
> checks to see if you code is invalid an then add new jumps to
> execute whatever the hell it wants.

+1

- Jonathan M Davis



More information about the Digitalmars-d-learn mailing list