You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately, this fails to compile. However, if I move the BETTER_ENUM declaration outside of the class, this works just fine. Is there another way to declare a better_enum inside a C++ class?
The text was updated successfully, but these errors were encountered:
I would like to declare a
better_enum
from inside a class. For example,Unfortunately, this fails to compile. However, if I move the
BETTER_ENUM
declaration outside of the class, this works just fine. Is there another way to declare abetter_enum
inside a C++ class?The text was updated successfully, but these errors were encountered: