[Bug c++/17000] parse error calling member template function of non-lvalue from within template class member

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Mar 18 06:12:00 GMT 2007



------- Comment #8 from pinskia at gcc dot gnu dot org  2007-03-18 06:12 -------
The work around is doing:
        get_a().template func2 <int>();


Which tells the compiler for sure func2 is a template.


-- 


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



More information about the Gcc-bugs mailing list