This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/19007] parser fails at the position calling an inherited template function in a template base class.
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Dec 2004 14:09:05 -0000
- Subject: [Bug c++/19007] parser fails at the position calling an inherited template function in a template base class.
- References: <20041215111507.19007.iguchi@coral.t.u-tokyo.ac.jp>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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