Anton Bachin
Anton Bachin
> Use enum class for enum type and augment it with free functions in the macro: Let me paraphrase to make sure I understood you correctly: you want the macro...
Indeed, that's what is in the `traits` branch now. I just didn't keep that branch up-to-date with subsequent improvements to the internals of `master`. See: - [basic usage](https://github.com/aantron/better-enums/blob/traits/samples/1-basic.cc) - [switch](https://github.com/aantron/better-enums/blob/traits/samples/3-switch.cc)...
Regarding C++17, it will greatly simplify the internals of the library. I am not sure what, at this point, exactly is planned for C++17, or whether it will have to...
Agreed, this would be nice. However, I don't think I can just do it in the obvious way, using template specialization: ``` cpp namespace better_enums { template struct _is_better_enum_value {...
All those could work, but if implemented literally that way, they would require C++11. While I've been thinking on and off about dropping C++98 support, I think it's better to...
Yep, it can be provided as a C++11-only feature, and might have to be. I'd still like to try to adapt it to C++98 first, though, so If you don't...
Following on #22, if MSVC has had a `` supporting the features we need, and whatever combination of `decltype` and/or `declval`, for "long enough" (since, maybe, mid-2015), we can move...
You should be able to write ordinary variable-argument macros wrapping `BETTER_ENUM` that do any extra work that you need. Are you having difficulties with that? In the meantime, I'm tending...
Noted! I really need to get around to doing this.
I'll still treat it as a valid issue, though. It's probably better to have a larger default limit, though I can't unconditionally make it 128 (IIRC) due to the macro...