[Bug c++/19007] parser fails at the position calling an inherited template function in a template base class.
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Dec 15 14:09:00 GMT 2004
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-15 14:09 -------
Invalid as f is not depenent.
Try:
template <class T>
class CDerived : public CBase<T>
{
public:
void g(void){
this-> template f<T>();
}
};
Instead.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19007
More information about the Gcc-bugs
mailing list