operator overloading

Posted by cpp_Beginner on Stack Overflow See other posts from Stack Overflow or by cpp_Beginner
Published on 2010-05-05T05:07:37Z Indexed on 2010/05/05 5:18 UTC
Read the original article Hit count: 264

Filed under:
|
|
|

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

© Stack Overflow or respective owner

Related posts about c++

Related posts about operator-overloading