------- Comment #6 from jason at gcc dot gnu dot org  2010-09-02 00:24 -------
This is standard-conformant behavior.

15.3/15: "The currently handled exception is rethrown if control reaches the
end of a handler of the function-try-block of a constructor or destructor."

The rationale for this is that the object has not actually been created, so
trying to continue as though it had been would cause problems.


-- 

jason at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45481

Reply via email to