MCPcopy Create free account
hub / github.com/Tiiny-AI/PowerInfer / create

Method create

examples/server/json.hpp:4490–4494  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4488 public:
4489 template<typename BasicJsonContext, enable_if_t<is_basic_json_context<BasicJsonContext>::value, int> = 0>
4490 static out_of_range create(int id_, const std::string& what_arg, BasicJsonContext context)
4491 {
4492 std::string w = concat(exception::name("out_of_range", id_), exception::diagnostics(context), what_arg);
4493 return {id_, w.c_str()};
4494 }
4495
4496 private:
4497 JSON_HEDLEY_NON_NULL(3)

Callers

nothing calls this directly

Calls 3

concatFunction · 0.70
nameFunction · 0.50
c_strMethod · 0.45

Tested by

no test coverage detected