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

Function get_impl_ptr

lesson6-Segmentation/json.hpp:19194–19197  ·  view source on GitHub ↗

get a pointer to the value (object)

Source from the content-addressed store, hash-verified

19192
19193 /// get a pointer to the value (object)
19194 object_t* get_impl_ptr(object_t* /*unused*/) noexcept
19195 {
19196 return is_object() ? m_value.object : nullptr;
19197 }
19198
19199 /// get a pointer to the value (object)
19200 constexpr const object_t* get_impl_ptr(const object_t* /*unused*/) const noexcept

Callers 1

get_ptrFunction · 0.85

Calls 8

is_objectFunction · 0.85
is_arrayFunction · 0.85
is_stringFunction · 0.85
is_booleanFunction · 0.85
is_number_integerFunction · 0.85
is_number_unsignedFunction · 0.85
is_number_floatFunction · 0.85
is_binaryFunction · 0.85

Tested by

no test coverage detected