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++/17634] default arguments not permitted in typedef's


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


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