The purpose of operator overloading is to provide a special meaning of an operator for a user-defined data type . With the help of operator overloading, you can redefine the majority of the C++ operators. You can also use operator overloading to perform different operations using one operator.