MCPcopy Create free account
hub / github.com/LAStools/LAStools / JSON_INTERNAL_CATCH

Function JSON_INTERNAL_CATCH

src/json.hpp:21643–21646  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21641 return ptr.get_checked(this).template get<ValueType>();
21642 }
21643 JSON_INTERNAL_CATCH (out_of_range&)
21644 {
21645 return default_value;
21646 }
21647 }
21648
21649 JSON_THROW(type_error::create(306, detail::concat("cannot use value() with ", type_name()), this));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected