Go backward to
Go up to
Go forward to
Overloading and Coercion
Same name denotes different functions.
Context decides which function is denoted by particular occurence of a name.
may eliminate overloading by giving different names to different functions.
convert an argument to a type expected by a function.
May be provided statically at compile time.
May be determined dynamically by run-time tests.
Operators/functions only have
Only syntax "pretends" polymorphism.
Last Modification: May 27, 1998