From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11561 invoked by alias); 19 Mar 2003 12:56:02 -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 11454 invoked by uid 71); 19 Mar 2003 12:56:01 -0000 Date: Wed, 19 Mar 2003 12:56:00 -0000 Message-ID: <20030319125601.11453.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: "Giovanni Bajo" Subject: Re: c++/10146: [3.4 regression] [new parser] template function lookup failure(s) Reply-To: "Giovanni Bajo" X-SW-Source: 2003-03/txt/msg01266.txt.bz2 List-Id: The following reply was made to PR c++/10146; it has been noted by GNATS. From: "Giovanni Bajo" To: "Richard Guenther" Cc: , , , Subject: Re: c++/10146: [3.4 regression] [new parser] template function lookup failure(s) Date: Wed, 19 Mar 2003 13:53:38 +0100 No, because Foo::foo (and the others) is not a dependent name. ยง14.2p4 e p5 explain that the keyword "template" to qualify member templates must be used if the postfix expression (obj.member in short) is dependent, and must never be used to qualify members which are not templates. So, in those three lines basically the template keyword is optional, but not required. Giovanni Bajo