Allocating in destructors
Vladimir Panteleev
vladimir at thecybershadow.net
Thu Feb 24 22:53:54 PST 2011
On Fri, 25 Feb 2011 06:38:52 +0200, dsimcha <dsimcha at yahoo.com> wrote:
> In the process, I've built up such a good mental model of the GC
> codebase that I'd hate to see it go to waste.
Here's a question for you. What happens when a class destructor, called by
the GC during a collection, allocates?
(Hint: nothing good.)
--
Best regards,
Vladimir mailto:vladimir at thecybershadow.net
More information about the Digitalmars-d
mailing list