Overloaded Operators And Inheritance

From Appmethod Topics
Jump to: navigation, search

Go Up to Overloading Operator Functions Overview Index

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