Introduction to Object Oriented Programming, 3rd Ed
Chapter 15
Overloading
Outline
- Roadmap
- Definition of Overloading
- Overloading Based on Scopes
- Florist Example from Chapter 1
- Resolving Overloaded Names
- Overloading Based on type Signatures
- Resolution Performed at Compile Time
- Stream Output in C++
- Easy to Extend
- Conversion and Coercison
- Redefinitions
- Example Illustrating Redefinition Models
- Optional Parameters
- Arbitrary Number of Arguments in C#
- Chapter Summary
Other Material