Next: High Integrity CPP Guideline 14.2  Up: 14 Pre-processor  Previous: 14 Pre-processor  Contents

High Integrity CPP Rule 14.1   Use the C++ comment delimiters "//". Do not use the C comment delimiters "/* ... */".
(QA C++  1050)

Justification

The scope of C++ comments is clearer. Errors can result from nesting of C comments.

Reference

Effective C++ Item 4;Industrial Strength C++ 3.4;


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