MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / format_arg get_arg

Method format_arg get_arg

extlibs/fmt/include/fmt/format.h:2195–2199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2193
2194template <typename Context>
2195FMT_CONSTEXPR typename Context::format_arg get_arg(Context& ctx, int id) {
2196 auto arg = ctx.arg(id);
2197 if (!arg) ctx.on_error("argument index out of range");
2198 return arg;
2199}
2200
2201// The standard format specifier handler with checking.
2202template <typename ParseContext, typename Context>

Callers

nothing calls this directly

Calls 2

argMethod · 0.45
on_errorMethod · 0.45

Tested by

no test coverage detected