C++ Private inheritance : use of any Base object not allowed – stackoverflow.com

I am using private inheritance and I am surprised to see that in the derived class use of any Base object is not allowed. class A; class B : private A; class C : public B; C::method_1() { A* a; ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "C++ Private inheritance : use of any Base object not allowed – stackoverflow.com"