veselink1/refl-cpp
Static reflection for C++17 (compile-time enumeration, attributes, proxies, overloads, template functions, metaprogramming). observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2680
- days_rel: n/a
- days_push: 1397
- n_releases_24m: 0
Adoption not part of the score
1208 stars · 87 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
refl-cpp is a header-only C++17 library providing static, compile-time reflection and introspection. It encodes type metadata in the type system, enabling constexpr and template metaprogramming over types, fields, functions, attributes, and proxies.
Use cases
- enumerate struct fields at compile time in C++
- serialize objects generically without code generation
- attach custom attributes to types and members
- build proxy wrappers around types with the same members
- invoke member functions by name at runtime
- write generic code that introspects types via template metaprogramming
When to choose
- you need compile-time reflection in C++17 with zero dependencies
- you want a small API surface and header-only integration
- you need support for overloaded functions, template types, and custom attributes
When to avoid
- you need runtime-registered reflection without macros
- your project targets a standard older than C++17
- you need reflection for types you cannot modify to add metadata macros
Facets
library · maturity stable
developer-tools developer-tools programming-languages cpp cross-platform reflection header-only metaprogramming compile-time cpp17 no-dependencies
2 sources
- readme: https://github.com/veselink1/refl-cpp · fetched 2026-08-28 · 17167ffff866
- homepage: https://veselink1.github.io/refl-cpp/md__introduction.html · fetched 2026-08-29 · ff6bd7f0735e
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| veselink1/refl-cpp | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="veselink1/refl-cpp")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem