Registry / utility / enchantum

enchantum

JSON →
library0.3.0vcpkgunverified

Header-only C++20 fast compile time enum reflection library.

vcpkg install enchantum
INSTALL
IMPORT
SIG · ENCHANTUM
E
enchantum
utilitycppv0.3.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

enchantum/enchantum.hpp
✓ #include <enchantum/enchantum.hpp>

Reflect enum names at compile time.

#include <enchantum/enchantum.hpp> #include <iostream> enum class Color { Red, Green, Blue }; int main() { auto names = enchantum::names<Color>(); for (auto& name : names) std::cout << name << '\n'; return 0; }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.3.0latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
12
Resources

No resource links recorded.

enchantum — pip install enchantum · libregistry