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]
Other format: [Raw text]

Re: c++/7841: gcc accepts illegal member function syntax for template classes


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

From: Martin Sebor <sebor@roguewave.com>
To: gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org,
	bangerth@ticam.utexas.edu, gcc-bugs@gcc.gnu.org
Cc:  
Subject: Re: c++/7841: gcc accepts illegal member function syntax for template classes
Date: Tue, 17 Sep 2002 12:15:08 -0600

 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7841
 
 14.6.1, p1 talks about references to unqualfied names of templates,
 which inevitably excludes declarations that appear outside of the
 class template definition. Also, examples are not normative :)
 
 The test case is ill-formed according to 14.2, p2 and must be
 diagnosed by a conforming implementation.
 
 Regards
 Martin
 


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