OOPortal
RationalDB Database Design
prev next prev next
  Course navigation
 
Lesson 1
Overloading operators in C++
   
This module covers the fundamentals of operator overloading which is an essential part of ad hoc polymorphism. In addition, how to build a non-native type with a consistent and complete interface will be discussed.
You will learn:
  1. Why operator overloading is useful in C++
  2. Which operators can be overloaded
  3. How and when to use friend functions to access class members
  4. How to overload unary operators
  5. How to overload binary operators
  6. How to overload input and output operators
  7. How to overload the member pointer operator
  8. How to overload the new and delete operators
  Course navigation