forcing "@nogc" on class destructors

Steven Schveighoffer via Digitalmars-d digitalmars-d at puremagic.com
Tue Jan 20 13:30:14 PST 2015


On 1/20/15 4:06 PM, ketmar via Digitalmars-d wrote:
> On Tue, 20 Jan 2015 15:51:17 -0500
> Steven Schveighoffer via Digitalmars-d <digitalmars-d at puremagic.com>
> wrote:
>
> p.s. another point is that all mechanics compiler needs for doing such
> checks is already there, so it's not a huge change to compiler
> codebase. it's not something that requires adding a whole new analysis
> code.
>

You can always put @nogc on the dtor if you want.

-Steve


More information about the Digitalmars-d mailing list