MCPcopy Create free account
hub / github.com/Open-GD/OpenGD / create

Method create

Source/external/json.hpp:4411–4416  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4409 */
4410 template<typename BasicJsonContext, enable_if_t<is_basic_json_context<BasicJsonContext>::value, int> = 0>
4411 static parse_error create(int id_, const position_t& pos, const std::string& what_arg, BasicJsonContext context)
4412 {
4413 std::string w = concat(exception::name("parse_error", id_), "parse error",
4414 position_string(pos), ": ", exception::diagnostics(context), what_arg);
4415 return {id_, pos.chars_read_total, w.c_str()};
4416 }
4417
4418 template<typename BasicJsonContext, enable_if_t<is_basic_json_context<BasicJsonContext>::value, int> = 0>
4419 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