7template<concepts::Encoding Enc, concepts::OneOf<
char, c32> T>
11 detail::CharacterFormat
format) {
13 auto type =
format.type.value_or(debug ? detail::CharacterType::Debug : detail::CharacterType::Character);
14 auto do_debug =
false;
15 if (type == detail::CharacterType::Debug) {
17 type = detail::CharacterType::Character;
19 auto width =
format.width.transform(&detail::Width::value);
20 return detail::present_integer_to<Enc>(context,
format.fill_and_align,
format.sign,
format.hash_tag,
21 format.zero, width,
static_cast<detail::IntegerType
>(type), do_debug,
Definition format_parse_context.h:14
constexpr auto current_format_string() const -> View
Definition format_parse_context.h:191
Definition format_context.h:9
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 parse
Definition parse.h:23
Definition in_place_type.h:5