High Integrity C++ - Coding Standard Version 4.0

On 3rd October 2013, High Integrity C++ (HIC++), one of the most respected, longest established and widely adopted C++ standards, marked its 10th anniversary with a the publication of major new update (Version 4.0) which extends its scope to cover C++11 and beyond. Over the past decade a staggering 24,000 copies of this coding standard have been downloaded.

This document defines a set of rules for the production of high quality C++ code. The guiding principles of this standard are maintenance, portability, readability and robustness. Justification with examples of compliant and/or non-compliant code are provided for each rule. Each rule shall be enforced unless a formal deviation is recorded.

This standard adopts the view that restrictions should be placed on the use of the C++ language without sacrificing its core flexibility. This approach allows for the creation of robust and easy to maintain programs while minimizing problems created either by compiler diversity, different programming styles, or dangerous/confusing aspects of the language.

Topics covered in this article

Advertisement