Static reflection for enums (to string, from string, iteration) for modern C++, work with any enum type without any macro or boilerplate code
c-plus-plus
serialization
reflection
cplusplus
cpp
metaprogramming
enum
header-only
cpp17
c-plus-plus-17
no-dependencies
single-file
cplusplus-17
enum-to-string
string-to-enum
-
Updated
on Jan 23, 2021 - C++
I've recently come to realize that the 'one-size-fits-all' mega-snippets on marzer.github.io/tomlplusplus aren't necessarily useful for everyone, and I should break them up into smaller sub-examples. I'd be totally happy to accept help with this, though that may be wishful thinking!