Why can I call base template class method from derived class
template <class T> struct A { void f(){} }; template <class T> struct B : public A <T> { void f2() { f(); } // calling base function – will not compile }; In the derived template, the expression f() is not dependent on any template argument, so the compiler attempts to resolve it during … Read more