📅  最后修改于: 2022-03-11 14:58:48.434000             🧑  作者: Mango
We require friend functions whenever we have to
access the private or protected members of a class. This is
only the case when we do not want to use the objects of that
class to access these private or protected members.