O'Reilly logo

SAMS Teach Yourself C++ in 10 Minutes SECOND EDITION by Jesse Liberty

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summing Up

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.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required