MCPcopy Create free account
hub / github.com/fmtlib/fmt / parse

Method parse

include/fmt/base.h:2359–2364  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2357
2358 public:
2359 FMT_CONSTEXPR auto parse(parse_context<Char>& ctx) -> const Char* {
2360 if (ctx.begin() == ctx.end() || *ctx.begin() == '}') return ctx.begin();
2361 auto end = parse_format_specs(ctx.begin(), ctx.end(), specs_, ctx, TYPE);
2362 if FMT_CONSTEXPR20 (TYPE == type::char_type) check_char_specs(specs_);
2363 return end;
2364 }
2365
2366 template <type U = TYPE,
2367 FMT_ENABLE_IF(U == type::string_type || U == type::cstring_type ||

Callers 3

parse_specsFunction · 0.45
invoke_parseFunction · 0.45
format_customMethod · 0.45

Calls 4

parse_format_specsFunction · 0.85
check_char_specsFunction · 0.85
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected