MCPcopy Create free account
hub / github.com/NVlabs/tiny-cuda-nn / JSON_CATCH

Method JSON_CATCH

dependencies/json/json.hpp:12811–12814  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12809 res = std::stoull(s, &processed_chars);
12810 }
12811 JSON_CATCH(std::out_of_range&)
12812 {
12813 JSON_THROW(detail::out_of_range::create(404, "unresolved reference token '" + s + "'", BasicJsonType()));
12814 }
12815
12816 // check if the string was completely read
12817 if (JSON_HEDLEY_UNLIKELY(processed_chars != s.size()))

Callers

nothing calls this directly

Calls 1

createFunction · 0.85

Tested by

no test coverage detected