Topic: ANSI Exceptions Library Functions.


Author: davisonj@bnr.ca (Jack Wasserman)
Date: 15 Oct 1993 00:40:47 -0500
Raw View
        In article <29gcgc$p47@turin.research.otc.com.au>,
grahamd@swdev.research.otc.com.au (Graham Dumpleton) wrote:
>Can someone tell me the names of the header files in the developing ANSI
>standard which will contain the prototypes for the following library
>functions associated with exceptions. [sic]
>
>  terminate()
>  set_terminate()
>  unexpected()
>  set_unexpected()

        A couple of months ago I called the support hotline for the compiler I
use (the Hewlett-Packard HP-UX C++ compiler) to ask that very question, and the
answer was that I should declare them myself.  (Ugh!)

        So until ANSI puts out a standard, I think you're stuck with declaring
them the old-fashioned (ugly, bug-prone) way.
--
+-------+
|John   |                      Hooray for Terry J. Hatter!
|Davison|
+-------+




Author: grahamd@swdev.research.otc.com.au (Graham Dumpleton)
Date: 13 Oct 1993 07:59:08 GMT
Raw View
Can someone tell me the names of the header files in the developing ANSI
standard which will contain the prototypes for the following library
functions associated with exceptions.

  terminate()
  set_terminate()
  unexpected()
  set_unexpected()

Documentation for Versant which I have suggests that IBM XL C++ uses the
header files <unexpected.h> and <terminate.h>. Is this also what the
developing standard says.

--
Graham Dumpleton (grahamd@swdev.research.otc.com.au)