forcing "@nogc" on class destructors
aldanor via Digitalmars-d
digitalmars-d at puremagic.com
Tue Jan 20 13:40:51 PST 2015
On Tuesday, 20 January 2015 at 21:30:14 UTC, Steven Schveighoffer
wrote:
> 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
I got into habit of always doing that (after painfully learning
on my own mistakes...) -- I guess the question of the thread is
-- is there a SINGLE reason to not force this at the moment?
More information about the Digitalmars-d
mailing list