Operator overloading

Operator overloading lets a programming language define how operators such as + or == behave for user-defined types. It allows familiar notation to express operations on values beyond built-in types.

Connect