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

Function get_ptr

3rd/nlohmann_json/include/nlohmann/json.hpp:3019–3023  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3017 std::is_pointer<PointerType>::value&&
3018 std::is_const<typename std::remove_pointer<PointerType>::type>::value, int >::type = 0 >
3019 constexpr auto get_ptr() const noexcept -> decltype(std::declval<const basic_json_t&>().get_impl_ptr(std::declval<PointerType>()))
3020 {
3021 // delegate the call to get_impl_ptr<>() const
3022 return get_impl_ptr(static_cast<PointerType>(nullptr));
3023 }
3024
3025 private:
3026 /*!

Callers 1

json.hppFile · 0.70

Calls 1

get_impl_ptrFunction · 0.70

Tested by

no test coverage detected