Topic: Can terminate() return?
Author: boukanov@sentef1.fi.uib.no (Igor Boukanov)
Date: 1996/03/23 Raw View
Is it supposed that terminate() function will never return? I did not find
in September DWP any words about this except 18.6.3.1:
"The implementation's default terminate_handler calls abort()."
But abort will never return...
--
Igor Boukanov (igor.boukanov@fi.uib.no).
[ comp.std.c++ is moderated. To submit articles: try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ FAQ: http://reality.sgi.com/employees/austern_mti/std-c++/faq.html ]
[ Policy: http://reality.sgi.com/employees/austern_mti/std-c++/policy.html ]
[ Comments? mailto:std-c++-request@ncar.ucar.edu ]
Author: clamage@Eng.sun.com (Steve Clamage)
Date: 1996/03/23 Raw View
boukanov@sentef1.fi.uib.no (Igor Boukanov) writes:
> Is it supposed that terminate() function will never return? I did not find
>in September DWP any words about this except 18.6.3.1:
>"The implementation's default terminate_handler calls abort()."
>But abort will never return...
Function terminate() is described as calling the current terminate-handler.
The description of terminate-handlers says they do not return.
See [lib.terminate] and [lib.terminate.handler].
--
Steve Clamage, stephen.clamage@eng.sun.com
[ comp.std.c++ is moderated. To submit articles: try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ FAQ: http://reality.sgi.com/employees/austern_mti/std-c++/faq.html ]
[ Policy: http://reality.sgi.com/employees/austern_mti/std-c++/policy.html ]
[ Comments? mailto:std-c++-request@ncar.ucar.edu ]