[Bug c++/13829] typedef of function type handled incorrectly when used as template argument

giovannibajo at libero dot it gcc-bugzilla@gcc.gnu.org
Fri Jan 23 11:41:00 GMT 2004


------- Additional Comments From giovannibajo at libero dot it  2004-01-23 11:41 -------
Not a bug. [temp.arg.type]/3: "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."

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |giovannibajo at libero dot
                   |                            |it
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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



More information about the Gcc-bugs mailing list