CodePudding user response:
Write in the class declaration, without friend is a member, member of the operator by calling its object as the left operand, so only need one parameter as right operand,CodePudding user response:
Write in the class declaration, without friend is a member, member of the operator by calling its object as the left operand, so only need one parameter as right operand,