aantron / better-enums

C++ compile-time enum to string, iteration, in a single header file
http://aantron.github.io/better-enums
BSD 2-Clause "Simplified" License
1.67k stars 173 forks source link

better_enum::optional: add conversion operator to std::optional #122

Open jaskij opened 8 months ago

jaskij commented 8 months ago

Solves #120

@aantron I was unable to figure out the tests, so if there is anywhere to add a test please advise.