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++/29927] template instantiation with function type



------- 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


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