enum_flags_name() currently returns with std::string, which is can not be a constant expression.
Constexpr time can be calculated of the enum flags returning string maximum size (sum of all {enum name size} + count-1 for the separators).
This can be used as the result of the static_string template argument.
enum_flags_name()currently returns withstd::string, which is can not be a constant expression.Constexpr time can be calculated of the enum flags returning string maximum size (sum of all {enum name size} + count-1 for the separators).
This can be used as the result of the static_string template argument.