raskalemano
2011-02-09 18:34:03 UTC
class Base
{
protected:
int protected_num;
....}
class X : private Base
{...
public:
void function ()
{ cout << Base.protected_num(); }
I get "error C2248 cannot access private member declared in class"