Destructor order
eles via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Wed Oct 22 08:49:20 PDT 2014
On Wednesday, 22 October 2014 at 15:45:02 UTC, eles wrote:
D version with structs:
{ //display ~C~B~A
A foo;
B bar;
C *caz = new C();
delete caz;
}
as expected.
More information about the Digitalmars-d-learn
mailing list