[Bug c++/39948] New: Cannot set default arguments in methods when methods contain multiple templates...

Lee at Gregory dot uk dot net gcc-bugzilla@gcc.gnu.org
Tue Apr 28 16:09:00 GMT 2009


I found that the compiler was unable to compile the code when a method had
default values for its arguments. 

This only seems to happen when the argument had multiple templates and when in
a method. The same code compiles when inside a function outside of a class.
Also, the code compiles if a typedef is used....


-- 
           Summary: Cannot set default  arguments in methods when methods
                    contain multiple templates...
           Product: gcc
           Version: 4.3.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: Lee at Gregory dot uk dot net


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



More information about the Gcc-bugs mailing list