Let's assume we need to implement all mathematical ops for this.
class number { double mValue; public: };
More than likely, I would write many operators like * as...
number operator*(const number& r) { return number(*this) *= r; }
Outside of macros, is there a way to make most compilers interpret stuff like this without me having to type it?