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++/39948] Cannot set default arguments in methods when methods contain multiple templates...



------- Comment #1 from Lee at Gregory dot uk dot net  2009-04-28 16:14 -------
Created an attachment (id=17775)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17775&action=view)
Very simple code, testFunc function compiles, but testFunc method does not.

It is very strange that testFunc (function) compiles, but testFunc (method)
does not. Also, the identical method, testFunc3 compiles because the default
param was defined as a typedef. 


-- 


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


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