M
Marcin Vorbrodt
Is friendship inherited? Meaning if:
class Base {
public:
friend FriendClass;
};
class Derived : public Base {
}
Is FriendClass also a friend of Derived? Or does the friendship need to be
explicitly granted?
Thanks,
Martin
class Base {
public:
friend FriendClass;
};
class Derived : public Base {
}
Is FriendClass also a friend of Derived? Or does the friendship need to be
explicitly granted?
Thanks,
Martin