magic_enum

[full]

Static reflection for enums (to string, from string, iteration) for modern C++, work with any enum type without any macro or boilerplate code

Github releases Conan package Vcpkg package Build2 package Meson wrap License Compiler explorer OpenSSF Scorecard Stand With Ukraine

Magic Enum C++

Header-only C++17 library provides static reflection for enums, work with any enum type without any macro or boilerplate code.

If you like this project, please consider donating to one of the funds that help victims of the war in Ukraine: https://u24.gov.ua.

Documentation

Features & Examples

... More
license MIT License
project magic_enum
doc-url github.com/Neargye/magic_enum/blob/master/doc/reference.md
src-url github.com/Neargye/magic_enum
topics Enumreflection
3 Versions
version 0.9.8
repository https://pkg.cppget.org/1/testing
depends 0
requires 1; c++ >= 17
reviews 0
version 0.8.1
repository https://pkg.cppget.org/1/alpha
depends 0
requires 1; c++ >= 17
reviews +1
version 0.7.3+1
repository https://pkg.cppget.org/1/alpha
depends 0
requires 1; c++ >= 17
reviews +1