home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: sparky!uunet!darwin.sura.net!uvaarpa!cv3.cv.nrao.edu!laphroaig!cflatter
- From: cflatter@nrao.edu (Chris Flatters)
- Subject: Re: reference to C++ assertion macro packa
- Message-ID: <1992Jul26.211317.12135@nrao.edu>
- Sender: news@nrao.edu
- Reply-To: cflatter@nrao.edu
- Organization: NRAO
- References: <1992Jul25.152611.18998@taumet.com>
- Date: Sun, 26 Jul 1992 21:13:17 GMT
- Lines: 19
-
- In article 18998@taumet.com, steve@taumet.com (Steve Clamage) writes:
- >maxtal@extro.ucc.su.OZ.AU (John MAX Skaller) writes:
- >
- >> Does anyone have details of the proposed assertion
- >>facility for C++?
- >
- >The <assert.h> facility from Standard C is part of C++. I have not seen
- >any proposals for anything else. If in particular you mean something
- >like the pre- and post-conditions for Eiffel classes, I haven't seen any
- >discussion of them.
-
- Has there been any discussion about adding something along the lines of
- the Assert() template from page 419 of Bjarne's new testament as a complement
- to or replacement for the ANSI C assert() macro? Raising an exception seems
- to be rather more in the spirit of C++ than forcing an abort.
-
- Chris Flatters
- cflatter@nrao.edu
-
-