This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/39948] Cannot set default arguments in methods when methods contain multiple templates...
- From: "Lee at Gregory dot uk dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Apr 2009 16:14:08 -0000
- Subject: [Bug c++/39948] Cannot set default arguments in methods when methods contain multiple templates...
- References: <bug-39948-17647@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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