Anton Bachin

Results 662 comments of Anton Bachin

It's feasible at first glance, but I wouldn't have time in the near future to do this, test it everywhere, etc. If you would like to give it a try,...

I linked magic_enum from the README. It looks like it requires GCC 9, but otherwise, is likely to be a better solution for many situations. If so, I'd like to...

@Neargye thanks. "Perversely," on MSVC, magic_enum might actually have less of a limit than Better Enums. Better Enums uses macro expansion, which is (or was?) limited to 127 arguments on...

Well, and that Better Enums uses standard C++. But I think the vast majority of users are on GCC, Clang, or MSVC, so this is not a big deal.

@rosetter IIRC it's possible to derive a `struct` from one of these enums, which will then allow you to add methods. For #2, is your debugger interpreting `enum` integral values...

Great, I'm glad this worked. We may be able to define `_value` as the enum type once we finally drop support for C++98. I want to do this, but I...

@sena73, we couldn't easily do this because the text in `(…)` is currently pasted into an ordinary enum declaration, so it has to be syntactically valid for an enum. We...

Yes, we can leave it open for editing the docs. I need to restore my Better Enums dev environment before I can do that, so it might take a while...

@andoks, what do you mean by the word *this* in > If I understand it correctly though, this does not replace the default to/from for strings ? The biggest initial...

That does seem like a worthwhile advantage.