From -4986970085780638875
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,63bd4d2f16a52bf0
X-Google-Attributes: gidf78e5,public
X-Google-ArrivalTime: 2002-11-03 14:16:52 PST
Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!colt.net!kibo.news.demon.net!mutlu.news.demon.net!demon!mail2news.demon.co.uk!devnull
From: loewis@informatik.hu-berlin.de (Martin v. =?iso-8859-1?q?L=F6wis?=)
Newsgroups: comp.std.c++
Subject: Re: Exception specification for overriding functions
Date: Sun, 3 Nov 2002 22:16:51 +0000 (UTC)
Organization: Humboldt University Berlin, Department of Computer Science
Lines: 33
Approved: fjh@cs.mu.oz.au (Fergus Henderson , moderator of comp.std.c++)
Message-ID: <j4k7jufs33.fsf@informatik.hu-berlin.de>
References: <3DC55CDA.614CF737@purdue.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: mail2news.demon.co.uk 1036361812 25198 10.0.0.1 (3 Nov 2002 22:16:52 GMT)
X-Complaints-To: abuse@demon.net
NNTP-Posting-Date: Sun, 3 Nov 2002 22:16:52 +0000 (UTC)
X-Received: from mulga.cs.mu.oz.au ([128.250.1.22])
	by news.demon.co.uk with esmtp (Exim 4.05)
	id 188T34-0006Xu-00
	for mail2news@news.news.demon.net; Sun, 03 Nov 2002 22:16:50 +0000
X-Received: from localhost (localhost [[UNIX: localhost]]) by mulga.cs.mu.OZ.AU
	id JAA09376; Mon, 4 Nov 2002 09:16:45 +1100 (EST)
X-Authentication-Warning: mulga.cs.mu.OZ.AU: fjh set sender to devnull@stump.algebra.com using -f
X-Path: comp-std-cpp-robomod!not-for-mail
X-Robomod: STUMP, ichudov@algebra.com (Igor Chudov)
X-Delivered-To: std-c++@ncar.ucar.edu
X-Newsgroups: comp.std.c++
X-NNTP-Posting-Date: 3 Nov 2002 18:04:00 GMT
X-User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50
X-Spam-Status: No, hits=-10.3 required=5.0
	tests=EMAIL_ATTRIBUTION,NOSPAM_INC,QUOTED_EMAIL_TEXT,REFERENCES,
	      SPAM_PHRASE_00_01,USER_AGENT
	version=2.41
Xref: archiver1.google.com comp.std.c++:15093

kak@purdue.edu (Avi Kak) writes:

>    Forgive me in advance if my question below is inappropriate
>    or unreasonable in any way.

Your question is completely on-topic in this group.

>    Which clause of the standard (14882-1998) describes the
>    restrictions on the exception specifications for an
>    overriding function in a derived class vis-a-vis the
>    exception specification for the overridden function in
>    a base class?

15.4/3.

>    I have scanned through the material dealing with derived
>    classes (clause 10) of the standard, but have not seen
>    any mention of the restrictions I am looking for.

Since this is about exceptions and inheritance, the two obvious places
to look for it are in the inheritance clause (10), as you did, and in
the exception clause (15). I believe the standard avoids backward
references whereever possible, so putting it into 15 seems natural.

HTH,
Martin

---
[ 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    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.jamesd.demon.co.uk/csc/faq.html                       ]



