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

Function get_impl_ptr

Source/Utils/json.hpp:19193–19196  ·  view source on GitHub ↗

get a pointer to the value (object)

Source from the content-addressed store, hash-verified

19191
19192 /// get a pointer to the value (object)
19193 object_t* get_impl_ptr(object_t* /*unused*/) noexcept
19194 {
19195 return is_object() ? m_value.object : nullptr;
19196 }
19197
19198 /// get a pointer to the value (object)
19199 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