home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: sparky!uunet!usc!sdd.hp.com!mips!mips!munnari.oz.au!metro!extro.ucc.su.OZ.AU!maxtal
- From: maxtal@extro.ucc.su.OZ.AU (John MAX Skaller)
- Subject: Re: C++ 3.0 and exceptions
- Message-ID: <1992Aug22.163022.5887@ucc.su.OZ.AU>
- Sender: news@ucc.su.OZ.AU
- Nntp-Posting-Host: extro.ucc.su.oz.au
- Organization: MAXTAL P/L C/- University Computing Centre, Sydney
- References: <MATTHEW.92Aug19105738@matthew.ntl02.decnet.nokia.fi> <1992Aug21.011112.17870@ucc.su.OZ.AU> <1992Aug20.224432.21822@jarvis.csri.toronto.edu>
- Date: Sat, 22 Aug 1992 16:30:22 GMT
- Lines: 17
-
- In article <1992Aug20.224432.21822@jarvis.csri.toronto.edu> mendell@turing.toronto.edu (Mark Mendell) writes:
- >IBM's xlC C++ compiler for the RS/6000 has been supporting C++ exception
- >handling since May. It isn't all that hard to do (harder if you have to
- >generate C), and can be done without full runtime type information. The
- >compiler always knows the types being thrown and caught at compile time.
-
- How does the compiler know that? I am baffled.
- If I have some catch statments, call a routine in a try block,
- and that routine is separately compiled, it could literally
- throw ANY object. Thats why RTTI is required I thought.
- Can someone correct me?
-
- --
- ;----------------------------------------------------------------------
- JOHN (MAX) SKALLER, maxtal@extro.ucc.su.oz.au
- Maxtal Pty Ltd, 6 MacKay St ASHFIELD, NSW 2131, AUSTRALIA
- ;--------------- SCIENTIFIC AND ENGINEERING SOFTWARE ------------------
-