C++’s selling point is performance and versatility, however, its versatility makes it possible to write code that doesn’t live up to its expectations.
When people write so called generic algorithms out there online, a lot of the the so-called generic fuctions uses more than one relational operator to order a sequence; This introduces unecessary strain on the clients of such code or makes some poor assumptions about the datatype we want to use.
In this post, I use everyday terminology to explain how functions work, and what a call-stack is.
The overloading story of
"Sweet Melon" and How C++’s Implicit Conversion Sequences played out….