-
-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to reflect to enum with type and value strings? #107
Comments
You would have to edit the macro to store the name of the type being declared somewhere. I'm not immediately sure if it can be done in a compile-time only way. It can definitely be done with an ordinary run-time map. |
Would you be kindly tell me how to do this? |
This question is far too generic and contains no information at all about what specifically you might be having trouble with. I won't have time in the immediate term to offer anything except very specific advice to very specific prompts with specific technical issues and information. |
Thanks anyway. BTW, great work again! |
Hi, this is a great work you’v made. But how to reflect from strings of enum value and name?
I have,
and text content
How to reflect the strings into Type with A?
I know there is no reflection in c++, but can we build that system just with help of this
better-enum
project?The text was updated successfully, but these errors were encountered: