Neargye / magic_enum

Static reflection for enums (to string, from string, iteration) for modern C++, work with any enum type without any macro or boilerplate code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Construct bitset from string_view

asolwa opened this issue · comments

commented

Hi,

It appears a bug has crept into the construction of the bitset. The set function is used, but it does not accept std::optional. The result of the 'enum_cast' function should be dereferenced before being passed to the set method.

Fixed in:
#367

Thanks for fix!