MCPcopy Create free account
hub / github.com/CalcProgrammer1/OpenRGB / get_ptr

Function get_ptr

dependencies/json/json.hpp:19650–19654  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19648 template<typename PointerType, typename std::enable_if<
19649 std::is_pointer<PointerType>::value, int>::type = 0>
19650 auto get_ptr() noexcept -> decltype(std::declval<basic_json_t&>().get_impl_ptr(std::declval<PointerType>()))
19651 {
19652 // delegate the call to get_impl_ptr<>()
19653 return get_impl_ptr(static_cast<PointerType>(nullptr));
19654 }
19655
19656 /*!
19657 @brief get a pointer value (implicit)

Callers

nothing calls this directly

Calls 1

get_impl_ptrFunction · 0.70

Tested by

no test coverage detected