Overloaded Operators And Inheritance

From RAD Studio
Jump to: navigation, search

Go Up to Overloading Operator Functions Overview Index (C++)

With the exception of the assignment function operator =( ), all overloaded operator functions for class X are inherited by classes derived from X, with the standard resolution rules for overloaded functions. If X is a base class for Y, an overloaded operator function for X could possibly be further overloaded for Y.

See Also