mirror of
https://github.com/fmtlib/fmt.git
synced 2024-10-02 13:02:03 +00:00
parent
1aaf72fb6d
commit
ee63f5f04e
@ -1371,10 +1371,10 @@ template <typename Context> struct arg_mapper {
|
|||||||
}
|
}
|
||||||
|
|
||||||
template <typename T, typename U = remove_cvref_t<T>>
|
template <typename T, typename U = remove_cvref_t<T>>
|
||||||
using formattable =
|
struct formattable
|
||||||
bool_constant<is_const_formattable<U, Context>() ||
|
: bool_constant<is_const_formattable<U, Context>() ||
|
||||||
!std::is_const<remove_reference_t<T>>::value ||
|
!std::is_const<remove_reference_t<T>>::value ||
|
||||||
has_fallback_formatter<U, char_type>::value>;
|
has_fallback_formatter<U, char_type>::value> {};
|
||||||
|
|
||||||
#if FMT_MSC_VER != 0 && FMT_MSC_VER < 1910
|
#if FMT_MSC_VER != 0 && FMT_MSC_VER < 1910
|
||||||
// Workaround a bug in MSVC.
|
// Workaround a bug in MSVC.
|
||||||
|
Loading…
Reference in New Issue
Block a user