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

Method create

extern/json/json.hpp:4477–4481  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4475 public:
4476 template<typename BasicJsonContext, enable_if_t<is_basic_json_context<BasicJsonContext>::value, int> = 0>
4477 static type_error create(int id_, const std::string& what_arg, BasicJsonContext context)
4478 {
4479 const std::string w = concat(exception::name("type_error", id_), exception::diagnostics(context), what_arg);
4480 return {id_, w.c_str()};
4481 }
4482
4483 private:
4484 JSON_HEDLEY_NON_NULL(3)

Callers

nothing calls this directly

Calls 3

concatFunction · 0.70
nameClass · 0.50
c_strMethod · 0.45

Tested by

no test coverage detected