|
magic_enum
☆
« Back to VersTracker
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Description: Static reflection for enums (to string, from string, iteration) for modern C++ |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Type: Formula | Latest Version: 5@0 | Tracked Since: Dec 28, 2025 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Links: Homepage | formulae.brew.sh | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Category: Developer tools | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Tags: c++ reflection header-only enum metaprogramming | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Install: brew install magic_enum | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
About: Magic Enum provides static reflection for C++ enums, enabling operations like converting enumerators to strings and vice versa without macros or external code generation. It offers compile-time iteration over enum values, making it easy to implement serialization, logging, and UI binding. The library is header-only and leverages modern C++ features for zero-overhead abstractions. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||
Key Features:
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||
Use Cases:
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||
Alternatives:
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Version History | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
|