This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Nested class forwarded definition: Not supported.
- To: Markus Schutz <markus dot schutz at a2i dot ch>
- Subject: Re: Nested class forwarded definition: Not supported.
- From: Nathan Sidwell <nathan at acm dot org>
- Date: Fri, 19 Feb 1999 12:47:36 +0000
- CC: EGCS Bug <egcs-bugs at cygnus dot com>
- Organization: University of Bristol
- References: <36CD40A2.2586B83B@a2i.ch>
- Reply-To: nathan at cs dot bris dot ac dot uk
Markus Schutz wrote:
>
> I found the following unsuported feature in EGCS-1.1.1:
> Nested class forwarded definition is not supported.
You are incorrect, forward declaration of nested is supported.
The problem with the code you post is that you are attempting to declare a
member with an incomplete type. This would happen regardless of whether Nested
was a member of Base or not.