MCPcopy Create free account
hub / github.com/aixed/WeChat-Hook / create

Method create

include/json.hpp:4333–4338  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4331 */
4332 template<typename BasicJsonContext, enable_if_t<is_basic_json_context<BasicJsonContext>::value, int> = 0>
4333 static parse_error create(int id_, const position_t& pos, const std::string& what_arg, BasicJsonContext context)
4334 {
4335 std::string w = concat(exception::name("parse_error", id_), "parse error",
4336 position_string(pos), ": ", exception::diagnostics(context), what_arg);
4337 return {id_, pos.chars_read_total, w.c_str()};
4338 }
4339
4340 template<typename BasicJsonContext, enable_if_t<is_basic_json_context<BasicJsonContext>::value, int> = 0>
4341 static parse_error create(int id_, std::size_t byte_, const std::string& what_arg, BasicJsonContext context)

Callers

nothing calls this directly

Calls 2

concatFunction · 0.70
to_stringFunction · 0.70

Tested by

no test coverage detected