home *** CD-ROM | disk | FTP | other *** search
- When a function has the same name as another function in the same
- scope, it overloads that function. The compiler uses the types
- and number of arguments to distinguish between different versions
- of an overloaded function. The signatures of overloaded functions
- must be distinct. Overriding, on the other hand, occurs when a
- function in a derived class has the same name as a function in a
- base class. The base class and derived class functions do not
- need to have distinct signatures. In fact, they must have
- identical signatures or the virtual function mechanism will not
- work.
-