This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/17634] default arguments not permitted in typedef's
- From: "schwab at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Sep 2004 14:12:25 -0000
- Subject: [Bug c++/17634] default arguments not permitted in typedef's
- References: <20040923135514.17634.papadopo@shfj.cea.fr>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From schwab at suse dot de 2004-09-23 14:12 -------
Default arguments are not permitted in typedefs [dcl.fct.default]:
3 A default argument expression shall be specified only in the
parameter-declaration-clause of a function declaration or in a
template-parameter (14.1). If it is specified in a
parameter-declaration-clause, it shall not occur within a declarator or
abstract-declarator of a parameter-declaration.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17634