Quick Q: What are the basic rules and idioms for operator overloading?
Quick A: read the SO FAQ.
Recently on SO:
What are the basic rules and idioms for operator overloading?
- The General Syntax of operator overloading in C++
- The Three Basic Rules of Operator Overloading in C++
- The Decision between Member and Non-member
- Common operators to overload
- Overloading new and delete
...