copy-ctor's

Ola Fosheim Grøstad ola.fosheim.grostad at gmail.com
Sun May 26 23:45:05 UTC 2019


On Sunday, 26 May 2019 at 22:33:48 UTC, Manu wrote:
> Oh, no.. that's search results, listed recent first. I didn't 
> realise the forum could do that.

Oh yes, that can be confusing.

Untagged unions doesn't really play well with destructors in any 
language. I think C++ requires that those destructors are ignored 
and that the union's destructor should do the cleanup. Seems like 
a thing that is easy to forget though…




More information about the Digitalmars-d mailing list