Topic: Exception spec seems ambigous to me..


Author: David Byrden <100101.2547@compuserve.com>
Date: 1996/02/03
Raw View
These questions do not seem to be unambigously answered by the September
draft;

Is an exception considered caught when it is handled by a handler
whose exception-declaration is the ellipsis ... ?

Will  uncaught_exception()  return false when you are in such a handler?

Most importantly, can such a handler call functions which themselves
thrown and catch exceptions internally?

I have a good reason for wanting to do this.


                   David



[ comp.std.c++ is moderated.  Submission address: std-c++@ncar.ucar.edu.
  Contact address: std-c++-request@ncar.ucar.edu.  The moderation policy is
  summarized in http://reality.sgi.com/employees/austern_mti/std-c++/policy.html
]





Author: David Byrden <100101.2547@compuserve.com>
Date: 1996/02/08
Raw View
>>  "An exception is considered handled upon entry to a handler."
>> (This text appears in every description of exceptions, including the
>>  ARM.)


Thank you. My confusion was caused by 15.1.6

"...An  exception is considered caught when initialization is complete for
  the formal parameter of the corresponding catch clause..."

It seemed to me that an ellipsis did not fit the description "formal
parameter".

                         David



[ comp.std.c++ is moderated.  Submission address: std-c++@ncar.ucar.edu.
  Contact address: std-c++-request@ncar.ucar.edu.  The moderation policy is
  summarized in http://reality.sgi.com/employees/austern_mti/std-c++/policy.html
]