The ability to associate an existing operator with a member operator function and use it with objects of its class of its as its operands is called overloading.
Operator that cannot be overloaded
the sizeof() operator
the dot operator (.)
the scope resolution operator (::)
the conditional operator (?:)
the pointer-to-member operator (.*)
No comments:
Post a Comment