Content deleted Content added
Stevebroshar (talk | contribs) →Operator overloading: Edit to form a coherent paragraph |
Stevebroshar (talk | contribs) →Operator overloading: Remove info from overloading section that is not about overloading ... and seems low value |
||
Line 64:
Conceptually, an operator can be [[Function overloading|overloaded]] in the same way that a function can {{endash}} acting differently based on the type of input. Some languages provide operators that are inherently overloaded (aka ''ad hoc polymorphic''). For example, in [[Java (programming language)|Java]] the {{code|+}} operator sums [[number]]s or [[concatenate]]s [[String (computer science)|strings]]. Some languages support user-defined operator overloading (such as [[C++]]).
== Operand coercion ==
|