bsl::operator<=>

Perform a three-way comparison of the specified ptr and null pointer by using the comparison operators of TYPE *; return the result of that comparison.

Synopsis

Declared in <bslstl_sharedptr.h>

template<class TYPE>
std::strong_ordering
operator<=>(
    shared_ptr<TYPE> const& ptr,
    nullptr_t) noexcept;