This is the mail archive of the gcc@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]
Other format: [Raw text]

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


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