# sftrabbit/CppPatterns-Patterns

A repository of modern C++ patterns curated by the community.

Repository: https://github.com/sftrabbit/CppPatterns-Patterns
Canonical: https://ross.abutalabs.com/products/cpppatterns-patterns
Language: C++
License: CC0-1.0
License Family: permissive
Last push: 2022-08-15T15:42:39+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4167, "days_push": 1479, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1456, forks 226 (observed 2026-08-28T04:04:46.964026+00:00)

## What it is
A community-curated repository of modern, idiomatic C++ code patterns, each stored as a self-contained .cpp example with intent and description comments. It serves as the content source for the C++ Patterns website (cpppatterns.com), aimed at beginner to intermediate C++ developers.

## Use cases
- learn modern idiomatic C++ patterns
- find reference examples for common C++ tasks
- look up how to implement pimpl idiom in C++
- study C++11 and later standard library idioms
- find starting-point code snippets for C++ features
- contribute community C++ pattern examples

## When to choose
- you are a beginner or intermediate C++ developer wanting idiomatic examples
- you need a quick reference for modern C++ solutions to common problems
- you want community-curated, up-to-date C++ pattern code under a permissive CC0 license

## When to avoid
- you need a runnable library or framework rather than example snippets
- you want comprehensive tutorials or courses rather than short pattern references
- you need patterns for a specific framework or domain beyond general C++ idioms

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: documentation, developer-tools
- domain: programming-languages, tutorials, education, developer-tools
- platform: cross-platform, cpp
- tags: cpp-patterns, idiomatic-cpp, code-examples, reference, modern-cpp, community-curated

## Member repositories
- sftrabbit/CppPatterns-Patterns (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:46.964026+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-30T04:35:37.517825+00:00, confidence not recorded.
  - readme: https://github.com/sftrabbit/CppPatterns-Patterns (fetched 2026-08-28T04:04:46.964026+00:00, sha 4c7c04bc4fc7)
- Data as of 2026-08-30T08:39:29.467469+00:00.
