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

Method create

extern/json/json.hpp:4511–4515  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4509 public:
4510 template<typename BasicJsonContext, enable_if_t<is_basic_json_context<BasicJsonContext>::value, int> = 0>
4511 static other_error create(int id_, const std::string& what_arg, BasicJsonContext context)
4512 {
4513 const std::string w = concat(exception::name("other_error", id_), exception::diagnostics(context), what_arg);
4514 return {id_, w.c_str()};
4515 }
4516
4517 private:
4518 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