Let\'s say I have:
#include
#include
#include
std::vector Base::m_intList;
class Base
{
public:
class Derived : Base means class Derived : private Base. The behaviour of private inheritance is:
protected members of the base class become private members of the derived class.private members of the base class have no access as members of the derived class.So m_intList is:
protected in Baseprivate in DerivedMoreDerivedhence your error.