Lesson 23.5 Mixed-Type Operators
From Hannah Lee on November 8th, 2020
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.