MCPcopy Create free account
hub / github.com/dobin/RedEdr / create

Method create

RedEdrShared/json.hpp:4498–4503  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4496 */
4497 template<typename BasicJsonContext, enable_if_t<is_basic_json_context<BasicJsonContext>::value, int> = 0>
4498 static parse_error create(int id_, const position_t& pos, const std::string& what_arg, BasicJsonContext context)
4499 {
4500 const std::string w = concat(exception::name("parse_error", id_), "parse error",
4501 position_string(pos), ": ", exception::diagnostics(context), what_arg);
4502 return { id_, pos.chars_read_total, w.c_str() };
4503 }
4504
4505 template<typename BasicJsonContext, enable_if_t<is_basic_json_context<BasicJsonContext>::value, int> = 0>
4506 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.85
to_stringFunction · 0.70

Tested by

no test coverage detected