We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 60b0ba4 commit ada3369Copy full SHA for ada3369
include/fmt/std.h
@@ -269,9 +269,9 @@ FMT_BEGIN_NAMESPACE
269
270
FMT_EXPORT
271
template <typename T, typename E, typename Char>
272
-struct formatter<
273
- std::expected<T, E>, Char,
274
- std::enable_if_t<is_formattable<T, Char> && is_formattable<E, Char>>> {
+struct formatter<std::expected<T, E>, Char,
+ std::enable_if_t<is_formattable<T, Char>::value &&
+ is_formattable<E, Char>::value>> {
275
template <typename ParseContext>
276
FMT_CONSTEXPR auto parse(ParseContext& ctx) -> decltype(ctx.begin()) {
277
return ctx.begin();
0 commit comments