C++ Coding Standard Specification - CERN
C++ Coding Standard Specification - CERN
C++ Coding Standard Specification - CERN
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 />
1 Introduction Version/Issue: 1.1/5<br />
For most items two other keywords, source and status, are also present; this information was<br />
maintained until version 0.8 of the document, that is as long as the document was defined in<br />
the SPIDER working group. For the items subsequently introduced, and therefore not<br />
discussed in the working group, the status information is not present. The meaning of the two<br />
keywords is the following:<br />
• Source: provides the identifier of the items from which the item was derived (See<br />
Table 1)<br />
• Status: indicates whether the item was agreed by all experiments/project in the<br />
working group (Status = Common), or by the majority of them (Status = Majority)<br />
The two keywords source and status are temporary; they will stay for the time necessary to<br />
help a possible migration to this standard, but will be removed as soon as they become<br />
historical information.<br />
Table 1 mapping between Identifier and the Source document<br />
Identifier (n=number)<br />
n.RN (or RC, RS, GN, GC, GS)<br />
CXX-n<br />
Rn<br />
COMPn<br />
ARNn<br />
Source document<br />
CMS<br />
ATLAS<br />
LHCb<br />
COMPASS<br />
ALICE<br />
1.6 Organization of this document<br />
This document is organized as follows:<br />
• Chapter 1: Introduction - this chapter<br />
• Chapter 2: Naming - list of all items on naming, with explanation and examples<br />
• Chapter 3: <strong>Coding</strong> - list of all items on coding, with explanation and examples<br />
• Chapter 4: Style - list of all items on style, with explanation and examples<br />
• Appendix A: Terminology<br />
• Appendix B: List of the items of the standard<br />
• Appendix C: Correspondence of item numbers, from this version to version 0.8<br />
1.7 References<br />
1 <strong>C++</strong> coding standards for ATLAS, S.M.Fisher, L.A.Tuura.<br />
Document on the WWW at the URL:<br />
http://www.cern.ch/Atlas/GROUPS/SOFTWARE/OO/asp/cxx-rules/<br />
page 4<br />
FINAL