May 2002
Beginner
320 pages
6h 18m
English
You have now seen how to create several functions with the same name and different argument types, and how the compiler supports overloading those names. In addition, you have seen that you can overload operators; this lesson has shown you how to overload the insertion and assignment operators, but you can overload many others.
You have seen some of the pitfalls of overloading and will hopefully be careful when you use this feature.
Read now
Unlock full access