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

Rule:  INT#018Checked automatically with code checker

This rule is Obsolete
Synopsis:Pass arguments of built-in types by value unless the function should modify them
Severity Level:9
Category:Class Interface


Of course the built-in type void is incomplete and thus cannot be passed by value. C-style arrays are passed as e.g. 'int foo[]' or as 'const int foo[]', if there is a reason not to use standard containers or a standard string.

Literature References:
ISC++ Rec. 7.3