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

Rule:  PCA#003Checked automatically with code checker

Synopsis:Use overloaded functions and chained function calls instead of functions with an unspecified number of arguments
Language:C++
Severity Level:4
Category:Parts of C++ to Avoid


Description:

Functions or methods using variable arguments should not be used unless very good reasons exist to do so. This is not advised since the strong type checking provided by C++ is thereby avoided. The intended effect can often be reached using function overloading.



Literature References:
Ellemtel Rule 31
ISC++ Rec 13.4