This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: c++/3012: c++ bug


The following reply was made to PR c++/3012; it has been noted by GNATS.

From: Gabriel Dos Reis <Gabriel.Dos-Reis@cmla.ens-cachan.fr>
To: "Artem Khodush" <artem@duma.gov.ru>
Cc: "Robert B. Lowrie" <lowrie@belle.lanl.gov>, <gcc-gnats@gcc.gnu.org>,
   <furboo@cybermesa.com>, <gcc-bugs@gcc.gnu.org>
Subject: Re: c++/3012: c++ bug
Date: 02 Jun 2001 03:12:21 +0200

 "Artem Khodush" <artem@duma.gov.ru> writes:
 
 | Robert B. Lowrie wrote:
 | >         If a templated member function `foo' of even a non-templated class
 | > `A' is called within a templated class `B' with the syntax
 | > foo<double>(), the compiler gives a syntax error.
 | 
 | > // when B is a template, compile fails on this line:
 | > a.foo<double>();
 | 
 | Not a bug.
 
 This IS a known bug in the parser.
 
 -- Gaby


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]