From 8195057346443947530
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,63bd4d2f16a52bf0
X-Google-Attributes: gidf78e5,public
X-Google-ArrivalTime: 2002-11-03 13:45:54 PST
Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!kibo.news.demon.net!mutlu.news.demon.net!demon!mail2news.demon.co.uk!devnull
From: markus.mauhart@nospamm.chello.at ("Markus Mauhart")
Newsgroups: comp.std.c++
Subject: Re: Exception specification for overriding functions
Date: Sun, 3 Nov 2002 21:45:54 +0000 (UTC)
Organization: Customers chello Austria
Lines: 23
Approved: fjh@cs.mu.oz.au (Fergus Henderson , moderator of comp.std.c++)
Message-ID: <BTdx9.105755$aa2.1329652@news.chello.at>
References: <3DC55CDA.614CF737@purdue.edu>
X-Trace: mail2news.demon.co.uk 1036359954 24984 10.0.0.1 (3 Nov 2002 21:45:54 GMT)
X-Complaints-To: abuse@demon.net
NNTP-Posting-Date: Sun, 3 Nov 2002 21:45:54 +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 188SZ6-0006Up-00
	for mail2news@news.news.demon.net; Sun, 03 Nov 2002 21:45:53 +0000
X-Received: from localhost (localhost [[UNIX: localhost]]) by mulga.cs.mu.OZ.AU
	id IAA07551; Mon, 4 Nov 2002 08:45:19 +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-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
X-NNTP-Posting-Date: Sun, 03 Nov 2002 19:26:41 MET
X-Spam-Status: No, hits=1.1 required=5.0
	tests=NOSPAM_INC,PRIORITY_NO_NAME,REFERENCES,SPAM_PHRASE_00_01
	version=2.43-cvs
X-Spam-Level: *
Xref: archiver1.google.com comp.std.c++:15091

"Avi Kak" <kak@purdue.edu> wrote ...
>
>    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?

------------------------------
"[except.spec] 15.4 Exception specifications
3 If a virtual function has an exceptionspecification, all declarations,
including the definition, of any function that overrides that virtual
function in any derived class shall only allow exceptions that are
allowed by the exceptionspecification of the base class virtual function."
------------------------------


---
[ 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                       ]



