Hello, i have the following problem: I have two classes: A, B. A has a private field x. I want to give B access to field x, but without a getter or making class B as friend of...
if i have class A {private: static int a;}; class B : public A {public: void f()}; , for every object B there will be allocated space for the static variable 'int a' from A?
Hello. Is there a way to get rid of the assert?