Fix use of enum struct in fmt::format
In lhcb-lcg-dev4 we have fmtlib 8 and while fmtlib 7 accepted the code:
#include <fmt/core.h>
enum struct X {};
int main() {
fmt::print("{}\n", X{0});
}
with fmtlib 8 it is not valid anymore.
In lhcb-lcg-dev4 we have fmtlib 8 and while fmtlib 7 accepted the code:
#include <fmt/core.h>
enum struct X {};
int main() {
fmt::print("{}\n", X{0});
}
with fmtlib 8 it is not valid anymore.