MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/SPlisHSPlasH / create

Method create

extern/json/json.hpp:4415–4420  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4413 */
4414 template<typename BasicJsonContext, enable_if_t<is_basic_json_context<BasicJsonContext>::value, int> = 0>
4415 static parse_error create(int id_, const position_t& pos, const std::string& what_arg, BasicJsonContext context)
4416 {
4417 const std::string w = concat(exception::name("parse_error", id_), "parse error",
4418 position_string(pos), ": ", exception::diagnostics(context), what_arg);
4419 return {id_, pos.chars_read_total, w.c_str()};
4420 }
4421
4422 template<typename BasicJsonContext, enable_if_t<is_basic_json_context<BasicJsonContext>::value, int> = 0>
4423 static parse_error create(int id_, std::size_t byte_, const std::string& what_arg, BasicJsonContext context)

Callers

nothing calls this directly

Calls 4

concatFunction · 0.70
to_stringFunction · 0.70
nameClass · 0.50
c_strMethod · 0.45

Tested by

no test coverage detected