Is it possible to change what an operator does dependent on the variable to the right.
For example:
Code:
//A basic class
class MyClass{
private:
float a, b, c;
public:
MyClass();
float operator+ (MyClass);
//but also do this:
float operator+ (float a);
};