[Issue 2590] Deallocator is not called if constructor fails.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Apr 4 07:43:42 PDT 2010


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


Don <clugdbug at yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |clugdbug at yahoo.com.au


--- Comment #1 from Don <clugdbug at yahoo.com.au> 2010-04-04 07:43:39 PDT ---
I'm pretty sure this bug is invalid.

http://herbsutter.com/2008/07/25/constructor-exceptions-in-c-c-and-java/

As Herb says,
"destructors only run on successfully constructed objects."

-- 
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