‘identifier not found’ and ‘undeclared identifier’ error in a template implemented virtual function
I have a Derived template class that inherited from a Base template class. The Base class has a pure virtual method and protected attribute which I am using in the implemented version Derived class. However whenever I use the inherited attribute in the implement version of the pure virtual function I get ‘identifier not found’ and ‘undeclared identifier’ error.