This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/29927] template instantiation with function type
- From: "s__nakayama at infoseek dot jp" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Nov 2006 14:34:57 -0000
- Subject: [Bug c++/29927] template instantiation with function type
- References: <bug-29927-10812@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from s__nakayama at infoseek dot jp 2006-11-23 14:34 -------
(In reply to comment #4)
> In any case, can you clarify why exactly you think the code should be
> rejected?
ISO 14882:2003 14.3.1 p3
> If a declaration acquires a function type through a type dependent on a
> template-parameter and this causes a declaration that does not use the
> syntactic form of a function declarator to have function type, the
> program is ill-formed.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29927