Why Overload Operators?
You Could It with Functions. Overloading does not add any capabilities to C++. Everything you can do with an overloaded operator you can also do with a function. However, by making your code more intuitive, overloaded operators make your programs easier to write, read, and maintain. You might think of overloaded operators as a way to transfer some of the labor from the class user to class creator. If the class creator spends a little time overloading operators for appropriate tasks, the class user can spend less time writing the code that invokes this tasks, because the operations will be more intuitive.