Hour 14. Operator Overloading
In the previous hour you learned how to overload member methods and how to create a copy constructor to provide deep copies. In this hour you will learn
How to overload member functions
How to overload the assignment operator to manage memory
How to write functions to support classes with dynamically allocated variables
Get Sams Teach Yourself C++ in 24 Hours, Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.