This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13829] typedef of function type handled incorrectly when used as template argument
- From: "giovannibajo at libero dot it" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Jan 2004 11:41:54 -0000
- Subject: [Bug c++/13829] typedef of function type handled incorrectly when used as template argument
- References: <20040123102201.13829.heinlein@informatik.uni-ulm.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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