Destructing Struct

Steven Schveighoffer schveiguy at yahoo.com
Wed Feb 21 15:35:49 UTC 2018


On 2/21/18 6:24 AM, Jiyan wrote:
> I think i found my solution: is it __xdtor? :P

Yes, that is the function that will run *recursively* all the 
destructors (just __dtor runs the destructor method if you provided 
one). But I'd recommend as the others did, using destroy.

-Steve


More information about the Digitalmars-d-learn mailing list