Capability:Compile time polymorphism

From Rosetta Code
This page is a stub. It needs more information! You can help Rosetta Code by filling it in!
Capability:Compile time polymorphism
Capabilities characterize abstract requirements of tasks and abilities of languages and libraries.
Browse this capability's properties.


The ability to call different functions depending on the static type of an object (i.e. the type derived from the declaration of the pointer or reference which refers to the object). This capability applies only to statically typed languages. Compile time polymorphism can e.g. be implemented through overloading or through implicitly resolved generic functions (like C++ templates).