Next: 14 Pre-processor  Up: index  Previous: 12 Memory Management  Contents

13 Portability

13.1

High Integrity CPP Guideline

Avoid implementation defined behaviour.

13.2

High Integrity CPP Guideline

Use standard language features and standard library functions in preference to extra functionality provided by the operating system or environment.

13.3

High Integrity CPP Rule

Do not exceed the translation limits imposed by the ISO C++ Standard.

13.4

High Integrity CPP Rule

Do not use compiler specific language or pre-processor extensions.

13.5

High Integrity CPP Rule

Do not use the 'asm' declaration.

13.6

High Integrity CPP Rule

Do not make any assumptions about the internal representation of a value or object.

13.7

High Integrity CPP Rule

Do not cast a pointer to fundamental type, to a pointer to a more restrictively aligned fundamental type.


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