CppCoreGuidelines

The C++ Core Guidelines, a collaborative set of rules and best practices for writing C++ led by Bjarne Stroustrup. It is a reference for writing safer, cleaner C++.

Share on XCustom license (see repository)

Overview

The C++ Core Guidelines are a collaborative set of rules and best practices for writing C++, led by Bjarne Stroustrup. They come from many person-years of discussion across several organizations and are meant to be broadly applicable. You can freely copy and modify them to fit your organization. The main document is written in GitHub-flavored Markdown, and many rules rely on the header-only Guidelines Support Library.

Key features

  • Rules and best practices for writing C++
  • Led by Bjarne Stroustrup with many contributors
  • Free to copy and adapt for an organization
  • Many rules use the header-only Guidelines Support Library

Best for

C++ developers and teams who want a shared reference for style and safety rules, or a base for their own coding standard. The document changes continuously and has no fixed release cycle.

Upstream
isocpp/CppCoreGuidelines
Fork on GitHub
Guo-astro/CppCoreGuidelines
Upstream stars
45k
Category
Learning, interviews and curated lists
Language
CSS
License
Custom license (see repository)
Forked
2021-02-28
Sync status
In syncLast synced 2026-09-29