This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: g++ bug w/ exception specs
- From: Benjamin Kosnik <bkoz at redhat dot com>
- To: Gabriel Dos Reis <gdr at codesourcery dot com>
- Cc: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 18 Feb 2002 09:57:17 -0800 (PST)
- Subject: Re: g++ bug w/ exception specs
> A class is considered a completely-defined object type (3.9) (or
> complete type) at the closing } of the class-specifier. Within the
> class member-specification, the class is regarded as complete
> within function bodies, default arguments and constructor
> ctor-initializers (including such things in nested
> classes). Other-wise it is regarded as incomplete within its own
> class member-specification.
> The above specifically ignores exception-specifications and the
> "otherwise" part seems to cover g++'s current behaviour. Thoughts?
Yep, I guess this is the case. Thanks for the clarification.
-benjamin