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

8.3 Language Restrictions

8.3.1

High Integrity CPP Rule

Avoid using the keyword 'static' when declaring objects in namespaces.

8.3.2

High Integrity CPP Guideline

Restrict the use of the 'extern' keyword. Do not write 'extern' where it is implicit.

8.3.3

High Integrity CPP Rule

Do not use the 'auto' or 'register' keywords.

8.3.4

High Integrity CPP Rule

Ensure each identifier is distinct.

8.3.5

High Integrity CPP Rule

Avoid ambiguous grammar between function style casts and declarations.


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