wiki:C++Standard
Last modified 6 years ago Last modified on 03/08/2013 10:11:56 AM

Draft for new release V 1.6

This document is being updated to reflect changes approved by the DM TCT. The document is in transition.

The previous official version of the C++ Programming Style Guidelines (V 1.5) is available here.

Rule changes in V1.6 are available here.

LSST Data Managment: C++ Programming Style Guidelines

Version 1.5, February 18, 2009

From: Software Code Standards

Table of Contents

0 Preface

1 Introduction

1.1 Layout of the Recommendations
1.2 Recommendation Importance

2 General Recommendations

3 Naming Conventions

3.1 General Naming Conventions
3.2 Specific Naming Conventions

4 Files

4.1 Source Files
4.2 Include Files and Include Statements

5 Statements

5.1 Types
5.2 Variables
5.3 Loops
5.4 Conditionals
5.5 Methods and Functions
5.6 Constructors and Destructors
5.7 Miscellaneous

6 Layout and Comments

6.1 Layout
6.2 White Space
6.3 Comments

7 Legacy Code

8 References