[Bug c++/17634] default arguments not permitted in typedef's

schwab at suse dot de gcc-bugzilla@gcc.gnu.org
Thu Sep 23 14:14:00 GMT 2004


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



More information about the Gcc-bugs mailing list