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



--- Comment #4 from Max Samukha <samu...@voliacable.com> 2010-04-04 15:17:17 
PDT ---
> The current behavior seems reasonable, because
> 'delete' is never invoked on the object (which is necessary for a custom
> deallocator to be used).

I don't think it is reasonable. Why should I bother to call the deallocator
manually while the allocator is called automatically? Think about object
creation as a transaction consisting of two operations: allocation and
construction. If construction fails, allocation should be automatically rolled
back.

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

Reply via email to