1. Home
  2. Browse
  3. magic-enum

magic-enum

v0.9.7#1Latest

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

Install

Run the following Vcpkg command to install the port.

vcpkg install magic-enum

Usage

magic-enum provides CMake targets:

find_package(magic_enum CONFIG REQUIRED)
target_link_libraries(main PRIVATE magic_enum::magic_enum)

Dependencies

See source

Version

v0.9.7#1

Publication

Supports

All

GitHub

Neargye/magic_enum

Homepage

github.com/Neargye/magic_enum

Subtree

3aebd5b88b

License

MIT

Definition

Manifest