From mboxrd@z Thu Jan 1 00:00:00 1970 From: lerdsuwa@gcc.gnu.org To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org Subject: Re: c++/2761 Date: Tue, 08 May 2001 04:16:00 -0000 Message-id: <20010508111603.30284.qmail@sourceware.cygnus.com> X-SW-Source: 2001-05/msg00215.html List-Id: The following reply was made to PR c++/2761; it has been noted by GNATS. From: lerdsuwa@gcc.gnu.org To: gcc-gnats@gcc.gnu.org, lachaume@gagax6.obs.ujf-grenoble.fr, nobody@gcc.gnu.org Cc: Subject: Re: c++/2761 Date: 8 May 2001 11:07:17 -0000 Synopsis: template A: public Container { iterator a; } gives a syntax error with -pedantic/compiles without it State-Changed-From-To: open->closed State-Changed-By: lerdsuwa State-Changed-When: Tue May 8 04:07:16 2001 State-Changed-Why: Not a bug. The 'iterator' inside 'std::vector' is invisible since the base class depends on template parameter 'vt'. So the behavior when -pedantic is given is standard compliant. http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=2761&database=gcc