This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: C++ parser issue [templ.res]
- From: Mark Mitchell <mark at codesourcery dot com>
- To: "jan at etpmod dot phys dot tue dot nl" <jan at etpmod dot phys dot tue dot nl>, "gcc at gnu dot org" <gcc at gnu dot org>
- Date: Tue, 28 Jan 2003 09:25:08 -0800
- Subject: Re: C++ parser issue [templ.res]
--On Tuesday, January 28, 2003 05:03:00 PM +0000 Jan Van Dijk
<janvandijkinjapan@yahoo.co.jp> wrote:
void good(){ f(); } // no B<T>:: required
I *think* this is a parser bug; i.e., this should be an error.
The question is whether any of the arguments to the function is
dependent. Since we are in a non-static member function, a key
question is whether the "this" parameter should be included, but
I think not.
Would you please file a PR?
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com