isocpp/cppcoreguidelines

The C++ Core Guidelines are a set of tried-and-true guidelines, rules, and best practices about coding in C++

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 58 minutes ago
Added to GitGenius on August 31st, 2026
Created on August 19th, 2015
Open Issues & Pull Requests: 246 (+0)
GitHub issues: Enabled
Number of forks: 5,555
Total Stargazers: 45,291 (+0)
Total Subscribers: 1,915 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 10.9 hours
Mean response time: 35.4 days
90th percentile: 70.2 days
Tracked items: 110

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 100% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Only 8% of issues opened in the past year have been closed. Three people close 84% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 24
New in 7 days: 1
Closed in 7 days: 1
Avg open age: 1,608 days
Stale 30+ days: 20
Stale 90+ days: 17

Recent activity

Opened in 7 days: 1
Closed in 7 days: 1
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • open (2)
  • resolved (1)

Detailed Description

The C++ Core Guidelines is a collaborative set of coding guidelines, rules, and best practices for writing modern C++.

The guidelines address the challenge of using C++ safely and effectively by establishing principles for higher-level design concerns including interfaces, resource management, memory management, and concurrency. The approach emphasizes that following these rules leads to code that is statically type-safe, has no resource leaks, and catches more programming logic errors than typical code while maintaining performance. The guidelines focus on what modern C++ code should look like five to ten years forward, starting from C++11 and newer standards. They are intentionally kept simple in ASCII-compatible Markdown to support automatic post-processing such as language translation and reformatting.

Developers should adopt these guidelines if they want to modernize C++ codebases or establish consistent coding standards across teams and organizations. The guidelines suit projects of any scale and can be freely copied and modified to meet specific organizational needs. They are designed to be introduced gradually into existing codebases rather than requiring wholesale rewrites. The guidelines are less concerned with low-level style issues like naming conventions and indentation, focusing instead on architectural and design patterns that have measurable safety and correctness benefits. Many guidelines reference the Guidelines Support Library, a header-only utility library that provides implementations supporting the recommended practices.

The guidelines document evolves continuously without a strict release schedule, with Bjarne Stroustrup periodically reviewing and versioning the content. The repository maintains both a master branch with the latest changes and a separately formatted browsable version that may lag slightly behind. The project welcomes verification, disproof, and measurement-backed evidence for its rules, explicitly acknowledging that some rules may be too strict and expecting refinement as real-world needs emerge. Contributors are encouraged to provide examples and data supporting or challenging the guidelines, indicating an openness to evidence-driven evolution of the standards.