TICS Coding Standard Viewer 
TIOBE Software Quality Framework
Print-friendly version
©TIOBE Software www.tiobe.com
 
C++ Coding Standard
Search

Rule:  INT#015

Synopsis:All variants of an overloaded member function shall be used for the same purpose and have similar behavior
Language:C++
Severity Level:2
Category:Class Interface


Description:

Overloading of functions can be a powerful tool for creating a family of related functions that only differ as to the type of data provided as arguments. If not used properly (such as using functions with the same name for different purposes), they can, however, cause considerable confusion.



Literature References:
Ellemtel Rec. 44
ISC++ Rule 7.14