Destructor order

Temtaime via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Mar 18 03:20:40 PDT 2016


Hi !
I wonder if i can rely on this code :

http://dpaste.dzfl.pl/745cc5b1cdfb

There's two questions:
1) Is dtors always called in reverse order ?
2) Is all the dtors always called when i call destroy ?

Thanks for a reply !


More information about the Digitalmars-d-learn mailing list