06.06.2015 Views

C++ Coding Standard Specification - CERN

C++ Coding Standard Specification - CERN

C++ Coding Standard Specification - CERN

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>C++</strong> <strong>Coding</strong> <strong>Standard</strong><br />

<strong>Specification</strong><br />

Table of Contents Version/Issue: 1.1/5<br />

3.7 Static and Global Objects . . . . . . . . . . . . . . . . . . . . 24<br />

3.8 Object-Oriented Programming . . . . . . . . . . . . . . . . . . 24<br />

3.9 Assertions and error conditions . . . . . . . . . . . . . . . . . . 26<br />

3.10 Error Handling . . . . . . . . . . . . . . . . . . . . . . . 27<br />

3.11 Parts of <strong>C++</strong> to Avoid . . . . . . . . . . . . . . . . . . . . . 28<br />

3.12 Readability and maintainability . . . . . . . . . . . . . . . . . 31<br />

3.13 Portability . . . . . . . . . . . . . . . . . . . . . . . . . 32<br />

4 Style . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35<br />

4.1 General aspects of style . . . . . . . . . . . . . . . . . . . . 35<br />

4.2 Comments . . . . . . . . . . . . . . . . . . . . . . . . . 37<br />

A Terminology . . . . . . . . . . . . . . . . . . . . . . . . . . . 39<br />

B List of the items of the standard . . . . . . . . . . . . . . . . . . . . 43<br />

C Correspondence of item numbers. . . . . . . . . . . . . . . . . . . . 51<br />

page vi<br />

FINAL

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!