I\'ve heard it is used as overloaded operator+ for example
class MyClass { int x; public: MyClass(int num):x(num){} MyClass operator+(const MyCla
That's a binary + operator. To overload the unary plus operator, you'd need something like this.