MCPcopy Create free account
hub / github.com/Predelnik/DSpellCheck / create

Method create

deps/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 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 2

concatFunction · 0.85
c_strMethod · 0.80

Tested by

no test coverage detected