is_formattable -> has_formatter

This commit is contained in:
Victor Zverovich
2019-06-07 06:51:21 -07:00
parent b3cf8613b1
commit 40779749ac
3 changed files with 10 additions and 8 deletions

View File

@@ -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;