Operator Overloading
(Redirected from operator overloading)
Jump to navigation
Jump to search
- See: Operator (Programming), ad Hoc Polymorphism, Polymorphism (Computer Science), Function Overloading, Built-in Operator.
References
2015
- (Wikipedia, 2015) ⇒ http://en.wikipedia.org/wiki/operator_overloading Retrieved:2015-5-21.
- In 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.
1996
- (Wall et al., 1996) ⇒ Larry Wall, Tom Christiansen, and Randal L. Schwartz. (1996). “Programming Perl, 2nd edition." O'Reilly. ISBN:1565921496
- operator overloading: A kind of overloading that you can do on the built-in operators to make them work (syntactically) on objects as if they were ordinary scalar values, but with the actual semantics supplied by the object class.