[Issue 5353] clear function is calling the destructor twice

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Dec 14 15:18:37 PST 2010


http://d.puremagic.com/issues/show_bug.cgi?id=5353



--- Comment #2 from nfxjfg at gmail.com 2010-12-14 15:16:49 PST ---
Craig reminded me on d.D.bugs that this is a struct, not a class. He's right.
Maybe the dtor gets called additionally because temporaries of the struct are
copy constructed.

It doesn't have to do with the GC and is a different problem.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list