| 3958 | constexpr nested_formatter() : width_(0) {} |
| 3959 | |
| 3960 | FMT_CONSTEXPR auto parse(parse_context<Char>& ctx) -> const Char* { |
| 3961 | auto it = ctx.begin(), end = ctx.end(); |
| 3962 | if (it == end) return it; |
| 3963 | auto specs = format_specs(); |
| 3964 | it = detail::parse_align(it, end, specs); |
| 3965 | specs_ = specs; |
| 3966 | Char c = *it; |
| 3967 | auto width_ref = detail::arg_ref<Char>(); |
| 3968 | if ((c >= '0' && c <= '9') || c == '{') { |
| 3969 | it = detail::parse_width(it, end, specs, width_ref, ctx); |
| 3970 | width_ = specs.width; |
| 3971 | } |
| 3972 | ctx.advance_to(it); |
| 3973 | return formatter_.parse(ctx); |
| 3974 | } |
| 3975 | |
| 3976 | template <typename FormatContext, typename F> |
| 3977 | auto write_padded(FormatContext& ctx, F write) const -> decltype(ctx.out()) { |
nothing calls this directly
no test coverage detected