Article View: comp.std.c++
Article #2800throw declarations
From: Joe Walker
Date: Fri, 01 Dec 1995 19:17
Date: Fri, 01 Dec 1995 19:17
28 lines
1001 bytes
1001 bytes
As I understand the DWP this is legal:
void func () throw ()
{
throw 1;
}
The question is, why?
Surely this should be a compiler error.
What is the justification for this?
TA,
Joe.
--
____
|___ | ___ ___ EMail: walkerjj@sweng.ecid.cig.mot.com
_ | |/ _ \| __| SMail: Motorola, 16 Euroway, Blagrove, SWINDON SN58YQ
| |_| | (_) | _| Tel: [+44/0] 793 54 5346
\___/ \___/|___| Fax: [+44/0] 793 54 1228
---
[ comp.std.c++ is moderated. Submission address: std-c++@ncar.ucar.edu.
Contact address: std-c++-request@ncar.ucar.edu. The moderation policy
is summarized in http://dogbert.lbl.gov/~matt/std-c++/policy.html. ]
Technical Details
Message-ID:
<30BEE97F.41C67EA6@ecid.cig.mot.com>Path:
arc1-ca.pugleaf.net!library.ucla.edu!agate!agate!MattShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!library.ucla.edu!agate!agate!Matt From: Joe Walker <walkerjj@ecid.cig.mot.com> Newsgroups: comp.std.c++ Subject: throw declarations Date: 01 Dec 1995 19:17:27 GMT Organization: Motorola Approved: Matt@Austern Message-ID: <30BEE97F.41C67EA6@ecid.cig.mot.com> NNTP-Posting-Host: austern.hip.berkeley.edu