Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. In object
oriented computer programming, operator overloading--less commonly known
as operator ad-hoc polymorphism--is a specific case of polymorphism,
where different operators have different implementations depending on
their arguments. Operator overloading is generally defined by the
language, the programmer, or both. Operator overloading is useful in
"closer to the target domain" development. It also allows user-defined
types, which can be emulated using function calls. Addition is a binary
operation, which means it has left and right operands. In C++, the
arguments being passed are the operands, and the temp object is the
returned value. Operator overloading has often been criticized because
it allows programmers to give operators completely different semantics
depending on the types of their operands.