diff --git a/include/fmt/core.h b/include/fmt/core.h index 05ee3806..c8158b74 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -1371,10 +1371,10 @@ template struct arg_mapper { } template > - using formattable = - bool_constant() || - !std::is_const>::value || - has_fallback_formatter::value>; + struct formattable + : bool_constant() || + !std::is_const>::value || + has_fallback_formatter::value> {}; #if FMT_MSC_VER != 0 && FMT_MSC_VER < 1910 // Workaround a bug in MSVC.