Idomatic way to guarantee to run destructor?

Robert M. Münch robert.muench at saphirion.com
Sun May 3 12:09:20 UTC 2020


On 2020-05-02 20:43:16 +0000, Steven Schveighoffer said:

> destroy sets all the values to the .init value. And it nulls the vtable 
> pointer.

Ok, that makes sense. Thanks for all the deep internal details. There 
is always a lot to learn.

-- 
Robert M. Münch
http://www.saphirion.com
smarter | better | faster



More information about the Digitalmars-d-learn mailing list