Hi Emil, If you expand this library (which I suppose is based upon the ideas in magic-enum), I would suggest adding the functionality in "light enum" available at https://github.com/gloinart/light_enum (note, made by me). Light enum has the same features as magic enum, with the difference that the enums are "registered" in .cpp files before usage. This way, the compile time overhead of magic enum is avoided. As a bonus, you can also introspect an enum even if you only have a forward declaration available. Best /Viktor On Sun, Apr 5, 2026 at 1:48 AM Emil Dotchevski via Boost < boost@lists.boost.org> wrote:
I wrote a small constexpr type/enum reflection library which I think may be a good addition to Boost. It needs C++17, although it relies on implementation-specific support (works on gcc, clang and msvc).
https://github.com/zajo/reflecto _______________________________________________ Boost mailing list -- boost@lists.boost.org To unsubscribe send an email to boost-leave@lists.boost.org https://lists.boost.org/mailman3/lists/boost.lists.boost.org/ Archived at: https://lists.boost.org/archives/list/boost@lists.boost.org/message/NLGU2ADV...