28 Oct
2014
28 Oct
'14
8:47 p.m.
Felix Uhl
I’ve written a small header-only library that uses Boost.Preprocessor and templates to ease the definition of named enumerations that are convertible to and from strings.
Sounds great!
What features would you want from such a library?
Aside from the conversion to strings, only those that enum class offers: being able to specify the underlying type, not being implicitly convertible to any other type, and being able to forward-declare them.