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

Rule:  ORG#002

Synopsis:Each file shall be self-contained
Language:C++
Severity Level:3
Category:Code Organization


Description:

This rule means that a file should be compilable in itself. For header files this is not enforced by the compiler. So if the file is an include file, including this file in an empty source file should not lead to compiler errors.



Literature References:
Ellemtel Rule 11
ISC++ Rule 2.1