



















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
The ALICE O2 C++ coding conventions proposed by the CWG2 group in March 2014. The purpose of these conventions is to ensure uniformity in coding practices for the O2 software project, which involves contributions from various coders with different backgrounds. coding style, naming, formatting, and comments, with references to detailed guidelines available online.
What you will learn
Typology: Exercises
1 / 27
This page cannot be seen from the preview
Don't miss anything!
March, 21st^2014
▶ Propose common guidelines, policies and procedures ▶ Conduct surveys for tools that cover the activities of most of the other working groups (aka Support tools) ▶ Coordinate other surveys ▶ Act as a central point where we keep track of who is evaluating what ▶ Ensure that resources are optimized and communication among the working groups is facilitated
Tools, guidelines and procedures
▶ Google C++ coding guidelines as starting point ▶ Widely used conventions taken into account ▶ Herb Sutter and Stroustrup’s guidelines considered ▶ C++11 features
▶ Big effort invested The result is different from both Google and AliRoot
Goal
Naming and formatting
Naming: General
Naming: Files
Naming: Functions
Formatting: Line length and classes
▶ General and std
▶ Variables and Brace initialization ▶ Global variables
▶ Initialization
▶ Exceptions
Highlights
Namespaces: using declarations and directives
Scoping