quicknir/wise_enum

Adapt existing enums

Closed this issue · 1 comments

Another desirable feature would be to provide a macro that allows adapting existing enums so that wise enum functions work with them. Obviously, this doesn't save you repetition, but if you are using wise enums in a library and have written generic code supporting them, it's nice to be able to adapt outside enums to that framework as well.

This has been implemented.