Another possible situation: accessing parent (a template class) member in a template class.
Fix method: using the parent class member by its full name (by prefixing this->
or parentClassName::
to the name of the member).
see: templates: parent class member variables not visible in inherited class