This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: compile time enforcement of exception specification
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: bob_rossi at cox dot net (Bob Rossi)
- Cc: gcc at gcc dot gnu dot org
- Date: Sun, 14 Jan 2007 00:16:32 -0500 (EST)
- Subject: Re: compile time enforcement of exception specification
>
> Hi,
>
> Will g++ ever add a compile time enforcement of the exception
> specification like the Java compiler does?
>
> I find the exception specification almost useless with out this
> functionality.
The C++ standard ( 15.4/10) is very specific that the implemantion should not
reject code just because of exception specification and calling other
functions.
-- pinski