No, It is Immpossible.
friend ship is not inherited.
In addition, friend indicates a deliberate strong connection between two objects. So if your design really requires such a strong connection, make them friend s. friend ship breaking encapsulation is too wrong concept.
source share