Struct destructors not always called?
Adam D. Ruppe via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sun Dec 27 10:47:52 PST 2015
On Sunday, 27 December 2015 at 18:40:55 UTC, Jeremy DeHaan wrote:
> I was playing around with some code today and I noticed that in
> some cases struct destructors are not called.
struct destructors are called when the struct ceases to exist in
the program.
A global variable never ceases to exist as long as the program
lives.
More information about the Digitalmars-d-learn
mailing list