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

Rule:  ORG#002

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


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 a header file, including this file in an empty source file should not lead to compiler errors.