MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / JSON_INTERNAL_CATCH

Function JSON_INTERNAL_CATCH

Source/Utils/json.hpp:20360–20363  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20358 return ptr.get_checked(this).template get<ValueType>();
20359 }
20360 JSON_INTERNAL_CATCH(out_of_range&)
20361 {
20362 return default_value;
20363 }
20364 }
20365
20366 JSON_THROW(type_error::create(306, "cannot use value() with " + std::string(type_name())));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected