MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / get_arg

Method get_arg

source/extern/fmt/format.h:3842–3846  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3840
3841template <typename Context, typename ID>
3842FMT_CONSTEXPR auto get_arg(Context& ctx, ID id) -> decltype(ctx.arg(id)) {
3843 auto arg = ctx.arg(id);
3844 if (!arg) ctx.on_error("argument not found");
3845 return arg;
3846}
3847
3848template <typename Handler, typename Context>
3849FMT_CONSTEXPR void handle_dynamic_spec(int& value,

Callers

nothing calls this directly

Calls 2

argMethod · 0.45
on_errorMethod · 0.45

Tested by

no test coverage detected