Next: 8.2 Scope  Up: 8 Declarations and Definitions  Previous: 8 Declarations and Definitions  Contents

8.1 Structure

8.1.1

High Integrity CPP Guideline

With the exception of object definitions and unnamed namespace declarations and definitions, declare in header files: all non-inline functions, classes, variables, enumerations and enumerators, which are named at namespace scope and which have external linkage.

8.1.2

High Integrity CPP Guideline

With the exception of unnamed namespace declarations and definitions, define in header files all inline functions which are at namespace scope and which have external linkage.

8.1.3

High Integrity CPP Guideline

With the exception of unnamed namespace declarations and definitions, define in header files all template definitions which are at namespace scope and which have external linkage.


HICPP VERSION 2.4  http://www.codingstandard.com   Copyright: © 2007 THE PROGRAMMING RESEARCH GROUP