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