Add ADL way of defining enum_range#413
Conversation
lsemprini
left a comment
There was a problem hiding this comment.
Neat! Much cleaner than my code.
What cases is magic_enum::customize::adl_info<true> meant to be used for?
Looks like line 196 of include/magic_enum/magic_enum.hpp should say bool instead of int
Thanks!
and good catch for the |
|
I see. We should add documentation too. I made suggested documentation changes in doc/limitations.md and doc/reference.md in my repository (that was a fork of your repository) and submitted a pull request. I have no idea what I'm doing with GitHub, so apologies if I'm using the wrong features to do the suggestion. I can submit the files another way if you like. |
Co-Authored-By: ZXShady <153229951+ZXShady@users.noreply.github.com> Co-Authored-By: lsemprini <17140216+lsemprini@users.noreply.github.com>
|
Thanks! |
Implements #381