# isocpp/CppCoreGuidelines

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

Repository: https://github.com/isocpp/CppCoreGuidelines
Canonical: https://ross.abutalabs.com/products/cppcoreguidelines
Homepage: http://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines
Language: CSS
License: NOASSERTION
License Family: other
Last push: 2026-08-06T15:54:13+00:00

## Health v2 (maintenance only)
Score: 66/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 96, release rhythm 8, longevity 100
- inputs: {"age_days": 4032, "days_push": 27, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 45278, forks 5555 (observed 2026-08-28T04:12:09.537619+00:00)

## What it is
The C++ Core Guidelines are a collaborative, living document of rules and best practices for writing modern C++ (C++11 and newer), led by Bjarne Stroustrup and Herb Sutter. It covers interfaces, resource and memory management, concurrency, error handling, templates, and more, and pairs with the Guidelines Support Library (GSL).

## Use cases
- learn how to write modern C++ safely
- establish coding standards for a C++ team
- review C++ code against best practices
- reduce memory leaks and resource bugs in C++ projects
- find recommended patterns for C++ concurrency and error handling
- modernize a legacy C++ codebase

## When to choose
- you write or review C++ and want authoritative, community-vetted best practices
- you are defining an organization-wide C++ style and safety policy
- you are teaching or learning modern C++ idioms

## When to avoid
- you need an automated linter or enforcement tool rather than a document (though tools like clang-tidy implement these rules)
- you work primarily in another language
- you need strict, complete, formally verified rules - the document itself notes gaps and evolving sections

## Facets
- artifact type: learning-resource
- maturity: active
- function: documentation, developer-tools
- domain: programming-languages, developer-tools, tutorials
- platform: cross-platform
- tags: cpp, coding-standards, best-practices, style-guide, guidelines, modern-cpp

## Member repositories
- isocpp/CppCoreGuidelines (main) score 66

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:12:09.537619+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T16:21:45.712969+00:00, confidence not recorded.
  - readme: https://github.com/isocpp/CppCoreGuidelines (fetched 2026-08-28T04:12:09.537619+00:00, sha 9f5e2cb2931a)
  - homepage: http://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines (fetched 2026-08-29T07:45:15.824513+00:00, sha 9316a840d055)
- Data as of 2026-08-30T08:39:29.467469+00:00.
