mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-06 23:30:29 +00:00
clang-format
This commit is contained in:
parent
a58a6b27c3
commit
5f41bb0f77
@ -3062,9 +3062,8 @@ FMT_CONSTEXPR const typename ParseContext::char_type* parse_format_specs(
|
|||||||
ParseContext& ctx) {
|
ParseContext& ctx) {
|
||||||
using char_type = typename ParseContext::char_type;
|
using char_type = typename ParseContext::char_type;
|
||||||
using context = buffer_context<char_type>;
|
using context = buffer_context<char_type>;
|
||||||
using mapped_type =
|
using mapped_type = conditional_t<
|
||||||
conditional_t<detail::mapped_type_constant<T, context>::value !=
|
detail::mapped_type_constant<T, context>::value != type::custom_type,
|
||||||
type::custom_type,
|
|
||||||
decltype(arg_mapper<context>().map(std::declval<const T&>())), T>;
|
decltype(arg_mapper<context>().map(std::declval<const T&>())), T>;
|
||||||
auto f = conditional_t<has_formatter<mapped_type, context>::value,
|
auto f = conditional_t<has_formatter<mapped_type, context>::value,
|
||||||
formatter<mapped_type, char_type>,
|
formatter<mapped_type, char_type>,
|
||||||
|
Loading…
Reference in New Issue
Block a user