mirror of
https://github.com/fmtlib/fmt.git
synced 2025-11-29 13:50:02 +01:00
is_formattable -> has_formatter
This commit is contained in:
@@ -2179,7 +2179,7 @@ FMT_CONSTEXPR const typename ParseContext::char_type* parse_format_specs(
|
||||
ParseContext& ctx) {
|
||||
// GCC 7.2 requires initializer.
|
||||
typedef typename ParseContext::char_type char_type;
|
||||
conditional_t<is_formattable<T, buffer_context<char_type>>::value,
|
||||
conditional_t<has_formatter<T, buffer_context<char_type>>::value,
|
||||
formatter<T, char_type>,
|
||||
internal::fallback_formatter<T, char_type>>
|
||||
f;
|
||||
|
||||
Reference in New Issue
Block a user