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

2007-03-18 Thread matt at galloway dot me dot uk
--- Comment #9 from matt at galloway dot me dot uk 2007-03-18 11:01 --- (In reply to comment #8) > The work around is doing: > get_a().template func2 (); > > > Which tells the compiler for sure func2 is a template. > Thanks, yeh I figured that out just now

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

2007-03-17 Thread matt at galloway dot me dot uk
--- Comment #7 from matt at galloway dot me dot uk 2007-03-18 01:06 --- Same problem for me with gcc-4.0.1. Is this going to get fixed or is it correct behaviour and the code needs some sort of codeword to tell the compiler that func2 is a template? -- matt at galloway dot me dot uk