Remove reference

This commit is contained in:
schaumb 2023-03-17 17:34:47 +01:00
parent 89ce35bc85
commit b0ca30c7e5

View file

@ -1023,7 +1023,7 @@ template<auto U>
struct is_same<U, U> : std::true_type {};
template<auto P>
constexpr bool is_nullptr_v = is_same<P, static_cast<decltype(P)>(nullptr)>::value;
constexpr bool is_nullptr_v = is_same<P, static_cast<std::remove_reference_t<decltype(P)>>(nullptr)>::value;
template <auto V>
constexpr auto p() noexcept {