C++ Code Style

Reference Code Standard

Follow Google’s guidelines which includes coding conventions and naming style:

Exceptions to the Standard

None. Exceptions that would benefit a specific project should be documented along with a rationale for the exception.

Implementing the Standard

Tools/ProceduresTypeNotes
cpplint Open SourceValidates Google code style. It can be modified to account for any exceptions we add to the original standard.
Visual Studio 2022 CommercialIntelliSense Code Linter for C++ evaluates as you type
ReSharper C++ CommercialIntelliSense Code Linter for C++ evaluates as you type
clang-format FreeFormats source code according to style guide.
  • Boost Library Req and Guidelines

    • Good documentation of what goes into setting up a Boost library project. Contains links to other documents and references to books.