From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8003 invoked by alias); 22 Jan 2003 16:39:27 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 7983 invoked by uid 48); 22 Jan 2003 16:39:27 -0000 Date: Wed, 22 Jan 2003 16:39:00 -0000 Message-ID: <20030122163927.7982.qmail@sources.redhat.com> To: gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, gdr@integrable-solutions.com, levon@movementarian.org, nobody@gcc.gnu.org From: bangerth@dealii.org Reply-To: bangerth@dealii.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, gdr@integrable-solutions.com, levon@movementarian.org, nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org Subject: Re: c++/9403: parse error on template keyword used for disambiguation X-SW-Source: 2003-01/txt/msg01205.txt.bz2 List-Id: Old Synopsis: parse error on boost is_function.hpp New Synopsis: parse error on template keyword used for disambiguation State-Changed-From-To: open->analyzed State-Changed-By: bangerth State-Changed-When: Wed Jan 22 16:39:27 2003 State-Changed-Why: Confirmed, that is I can confirm that it does no longer compile, but I don't know for sure whether the code is legal. A further extract is this: ------------------------------ template struct Outer { template struct Inner {}; }; template struct X : Outer::template Inner {}; ----------------------------- This used to compile with the old parser, but does not any more. It _does_ compile, however, when you drop the "template" in Outer::template Inner. Gaby, you knew about this stuff. What's legal and what is not? W. http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9403