FICHA · AUR

nameof

Nameof operator for modern C++, simply obtain the name of a variable, type, function, macro, and enum

  • cpp-library
  • LIBRARY
  • Dependency only
official+codex · reviewed · Jun 2, 2026 description in en

Description

C++ code can obtain names of variables, types, functions, macros, and enums without hand-written string duplication. It is useful for diagnostics, logging, serialization helpers, and metaprogramming-style utilities.

This is a developer library, not a standalone app. Generated names should still be tested across compilers and build configurations.

Permissions

Permissions not analysed for this source yet.