MCPcopy Create free account
hub / github.com/bytedance/Fastbot_Android / get_ptr

Function get_ptr

native/thirdpart/json/json.hpp:17320–17324  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17318 template<typename PointerType, typename std::enable_if<
17319 std::is_pointer<PointerType>::value, int>::type = 0>
17320 auto get_ptr() noexcept -> decltype(std::declval<basic_json_t&>().get_impl_ptr(std::declval<PointerType>()))
17321 {
17322 // delegate the call to get_impl_ptr<>()
17323 return get_impl_ptr(static_cast<PointerType>(nullptr));
17324 }
17325
17326 /*!
17327 @brief get a pointer value (implicit)

Callers

nothing calls this directly

Calls 1

get_impl_ptrFunction · 0.85

Tested by

no test coverage detected