DIP60: @nogc attribute
David Nadlinger via Digitalmars-d
digitalmars-d at puremagic.com
Fri Apr 25 05:21:38 PDT 2014
On Friday, 25 April 2014 at 12:07:00 UTC, Steven Schveighoffer
wrote:
> One interesting thing about this is that the compiler
> implementation may make some @nogc code valid on some
> compilers, and invalid on others, even though the resulting
> execution is the same.
I don't think this is a desirable behavior. @nogc should be
decided in the frontend, before closure allocation optimizations
take place.
David
More information about the Digitalmars-d
mailing list