J
Juha Nieminen
Assume we have this kind of class hierarchy:
class A
{
class B;
};
class C
{
friend A;
};
Can B access the privates of C? What are the rules of friendship scope?
class A
{
class B;
};
class C
{
friend A;
};
Can B access the privates of C? What are the rules of friendship scope?