| 4492 | public: |
| 4493 | template<typename BasicJsonContext, enable_if_t<is_basic_json_context<BasicJsonContext>::value, int> = 0> |
| 4494 | static out_of_range create(int id_, const std::string& what_arg, BasicJsonContext context) |
| 4495 | { |
| 4496 | const std::string w = concat(exception::name("out_of_range", id_), exception::diagnostics(context), what_arg); |
| 4497 | return {id_, w.c_str()}; |
| 4498 | } |
| 4499 | |
| 4500 | private: |
| 4501 | JSON_HEDLEY_NON_NULL(3) |