8template<concepts::Encoding Enc>
13 auto width =
format.width.transform(&detail::Width::value);
14 if (type == detail::BoolType::String) {
16 return detail::present_string_view_to(context,
format.fill_and_align, width,
nullopt,
false,
17 value ?
"true"_sv :
"false"_sv);
19 return detail::present_integer_to<Enc>(context,
format.fill_and_align,
format.sign,
format.hash_tag,
20 format.zero, width,
static_cast<detail::IntegerType
>(type),
false,
21 static_cast<i8>(value));
Definition format_parse_context.h:14
constexpr auto current_format_string() const -> View
Definition format_parse_context.h:191
Definition format_context.h:9
__INT8_TYPE__ i8
Definition integers.h:14
di::meta::Decay< decltype(T)> Tag
Definition tag_invoke.h:28
Expected< T, Error > Result
Definition result.h:8
constexpr tag_invoke_detail::TagInvokeFn tag_invoke
Definition tag_invoke.h:22
constexpr auto nullopt
Definition nullopt.h:15
constexpr auto parse
Definition parse.h:23
Definition in_place_type.h:5