MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / get_ptr

Function get_ptr

3rd/nlohmann_json/single_include/nlohmann/json.hpp:20520–20524  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20518 std::is_pointer<PointerType>::value&&
20519 std::is_const<typename std::remove_pointer<PointerType>::type>::value, int >::type = 0 >
20520 constexpr auto get_ptr() const noexcept -> decltype(std::declval<const basic_json_t&>().get_impl_ptr(std::declval<PointerType>()))
20521 {
20522 // delegate the call to get_impl_ptr<>() const
20523 return get_impl_ptr(static_cast<PointerType>(nullptr));
20524 }
20525
20526 private:
20527 /*!

Callers 1

json.hppFile · 0.70

Calls 1

get_impl_ptrFunction · 0.70

Tested by

no test coverage detected