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



--- Comment #2 from Max Samukha <samu...@voliacable.com> 2010-04-04 10:07:51 
PDT ---
He is talking about constructors/destructors, not allocators/deallocators. I
totally agree the destructor must not be called on a partially constructed
object. Conversely, the memory that has been successfully allocated for an
object needs to be properly deallocated even if the constructor fails.

On the other hand, if overloaded new/delete are going to be removed from the
language, the problem will pass away.

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

Reply via email to