- The ability to create multiple functions of the same name with different implementations. Calls to an overloaded function will run a specific implementation of that function appropriate to the context of the call, allowing one function call to perform different tasks depending on context. For example,
doTask()
and doTask(object o)
are overloaded functions. To call the latter, an object must be passed as a parameter, whereas the former does not require a parameter, and is called with an empty parameter field. ← Wikipedia
- More about this term (beta): Web search, articles and videos, books
- Previous term: Function coverage
- Next term: function*
- Random term: Inline-level element