Why friend function cannot be used to overload the assignment operator?

Showing Answers 1 - 1 of 1 Answers

Answer is simple...
A friend function is a non-member function of the class to which it has been defined as friend.Therefore it just uses the functionality( or the functions and data ) of the class,so. it wont consists the inplementation for that class.(any)

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions