MCPcopy Create free account
hub / github.com/AllentDan/LibtorchTutorials / JSON_CATCH

Method JSON_CATCH

lesson6-Segmentation/json.hpp:11893–11896  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11891 res = std::stoull(s, &processed_chars);
11892 }
11893 JSON_CATCH(std::out_of_range&)
11894 {
11895 JSON_THROW(detail::out_of_range::create(404, "unresolved reference token '" + s + "'"));
11896 }
11897
11898 // check if the string was completely read
11899 if (JSON_HEDLEY_UNLIKELY(processed_chars != s.size()))

Callers

nothing calls this directly

Calls 1

createFunction · 0.85

Tested by

no test coverage detected