Lesson 23.5 Mixed-Type Operators
From Hannah Lee
Operator overloading allows us to redefine the meaning of + or * on objects of our class. But sometimes we want to mix together types like a fraction and integer. In this video we show that it is possible to do this, though there are some pitfalls that must avoid.