https://issues.dlang.org/show_bug.cgi?id=704

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #16 from [email protected] ---
(I spent a few days looking for an issue caused by this mandatory call of dtor
when ctor thrown an exception.)

Why it is need to call dtor if ctor isn't sucessful finished?
For purposes of simple correct cleanup we already have scope guards - it can be
used inside of ctor.

And this behaviour should be at least described in the manual.

--

Reply via email to