Ross ROSS = Recommend OSS · open-source software intelligence for agents

Neargye/nameof

Nameof operator for modern C++, simply obtain the name of a variable, type, function, macro, and enum observed · 2026-08-28

github.com/Neargye/nameof · C++ · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

91/100

  • Activity 96
  • Release rhythm 79
  • 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: 61
  • age_days: 3091
  • days_rel: 60
  • days_push: 28
  • n_releases_24m: 2

Full methodology

Adoption not part of the score

2357 stars · 126 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

A header-only C++17 library providing nameof macros and functions to obtain the name of variables, types, functions, macros, and enum values as strings. It is a single-file, dependency-free utility supporting enum-to-string conversion, including enum flags.

Use cases

  • convert enum values to strings in C++
  • get the name of a variable or function as a string
  • serialize enum flags to readable text
  • obtain type names for logging or debugging
  • add lightweight reflection-like name lookup to C++ code

When to choose

  • you need enum-to-string conversion without code generation
  • you want a zero-dependency, header-only C++17 solution
  • you need compile-time name retrieval for variables, types, or functions

When to avoid

  • you need full runtime reflection beyond name retrieval
  • your project targets pre-C++17 compilers
  • you need exact portable type spellings across all compilers

Facets

library · maturity stable

serialization developer-tools developer-tools programming-languages parsers cpp cross-platform header-only nameof reflection metaprogramming enum-to-string cpp17 no-dependencies

1 source

Member repositories

RepositoryRoleHealth v2
Neargye/nameofmain91

For agents

markdown · JSON · MCP: product_card(name="Neargye/nameof")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem