This is the mail archive of the gcc-bugs@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]

[Bug c++/11351] typedef to nested template causes error


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11351


ehrhardt at mathematik dot uni-ulm dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


------- Additional Comments From ehrhardt at mathematik dot uni-ulm dot de  2003-06-27 13:45 -------
Indeed, the template keyword is needed here. This is 14.2[4]:

	When the name of a member template specialization
	appears after . or -> in a postfix-expression, or
	after nested-name-specifier in a qualified-id, and the
	postfix-expression or qualified-id explicitly depends on
	a template-parameter (14.6.2), the member template name
	must be prefixed by the keyword template. Otherwise the
	name is assumed to name a non-template.

   regards  Christian


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