------- 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
pinskia at gcc dot gnu dot org Sat, 17 Mar 2007 22:12:59 -0800
------- 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