diff --git a/include/fmt/std.h b/include/fmt/std.h index ff96a9525f238..60851c32e1a37 100644 --- a/include/fmt/std.h +++ b/include/fmt/std.h @@ -271,7 +271,7 @@ FMT_EXPORT template struct formatter< std::expected, Char, - std::enable_if_t && is_formattable>> { + std::enable_if_t::value && is_formattable::value>> { template FMT_CONSTEXPR auto parse(ParseContext& ctx) -> decltype(ctx.begin()) { return ctx.begin();