@trusted and return ref

Kagamin via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Mar 2 00:38:32 PST 2015


On Friday, 27 February 2015 at 14:52:56 UTC, Steven Schveighoffer 
wrote:
>> The counter is freed in the destructor, nothing can happen 
>> after that.
>
> So the code is now etched in stone and cannot be changed? Is 
> there an attribute for that? :P

Changes introduces in the destructor shouldn't affect other code, 
because nothing can happen after the destructor.


More information about the Digitalmars-d-learn mailing list