FAQ: Use a member function unless you must use a friend function. For example, you may need friend for operator overloading.

FQA: The FAQ says it at last! See? It was about operator overloading all the way.

The FAQ's advice may be further simplified if we use the observation that C++ operator overloading is just a pain in the neck.
Designed By Blogger Templates | Templatelib & Distributed By Blogspot Templates