From: Alexander Terekhov (terekhov_at_[hidden])
Date: 2002-08-28 08:18:39


Darryl Green wrote:
[...]
> Screw up terminate()? This is where I don't understand your posts - I can't
> see that there is anything defined about what happens after the call (except
> that it won't return) so how can it be "screwed up"?

ISO/IEC 14882:1998(E), Pg. 345:

"2 Required behavior: A terminate_handler shall terminate execution of the program..."
   ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

"void terminate();

 1 Called by the implementation when exception handling must be abandoned for
                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

   any of several reasons (15.5.1). May also be called directly by the program. ..."
                                     

regards,
alexander.