operator overloading
- by cpp_Beginner
Hi,
Could anybody tell me
the difference between operator overloading using the friend keyword and as a member function inside a class?
also what is the difference incase of any unary operator overloading i.e., as a friend and as a member function