Anton Bachin
Anton Bachin
Can you give full instructions for how to reproduce this?
Thanks. If you'd like to upstream this, we can add the detection macro to `enum.h`.
> is there a possibility of maybe having a "slower" or less "smart" enum with a pretty much equal interface that can solve this? If the enum at runtime is...
It's possible to create it as a variant, but it would be a different library. The direct representation is one of the "features" of this library (and typical enums in...
Every way I know (knew) of avoiding the `+` operator had the side effect of introducing ambiguous overload resolution elsewhere. See comments here: https://github.com/aantron/better-enums/issues/23#issuecomment-231207964 https://github.com/aantron/better-enums/issues/13#issuecomment-160879286 I grant that I may...
Hi :) I've looked at it briefly, and it seems like a good thing to add. I haven't had time to properly do it, though.
One minor annoyance is it will probably need conditional compilation, based on compiler version and an override macro to force the overloads to be enabled for when the version detection...
Thanks for that. I won't have the time to integrate it in the immediate future (because of all that conditional compilation testing that would be needed). If you'd like to...
Thanks. Not to my knowledge.
No, not at the moment. You can define a new reflective enum with ```cpp BETTER_ENUM(Foo, int, A = OtherEnum::A, B = OtherEnum::B) ``` and use this second enum for conversions...