Overloaded Functions and Operators
Exploration 24 introduced the notion of overloaded functions. Exploration 30 continued the journey with overloaded operators. Since then, we’ve managed to get by with a commonsense understanding of overloading. I would be remiss if I did not delve deeper into this subject, so let’s finish the story of overloading, by examining the rules of overloaded functions and operators in greater depth. (Operators and functions follow the same rules, so in this Exploration, understand that functions applies equally to functions and user-defined operators.)
Before jumping into the deep end ...