Lines Matching refs:nullptr_t
439 constexpr unique_ptr(nullptr_t) noexcept : unique_ptr() { }
452 …constexpr unique_ptr& operator=(nullptr_t) noexcept; // constexpr sin…
484 constexpr unique_ptr(nullptr_t) noexcept : unique_ptr() { }
493 constexpr unique_ptr& operator=(nullptr_t) noexcept; // constexpr since C++23
505 constexpr void reset(nullptr_t) noexcept; // constexpr since C++23
533 …constexpr bool operator==(const unique_ptr<T, D>& x, nullptr_t) noexcept; // constexpr since C++…
535 bool operator==(nullptr_t, const unique_ptr<T, D>& y) noexcept; // removed in C++20
537 bool operator!=(const unique_ptr<T, D>& x, nullptr_t) noexcept; // removed in C++20
539 bool operator!=(nullptr_t, const unique_ptr<T, D>& y) noexcept; // removed in C++20
542 constexpr bool operator<(const unique_ptr<T, D>& x, nullptr_t); // constexpr since C++23
544 constexpr bool operator<(nullptr_t, const unique_ptr<T, D>& y); // constexpr since C++23
546 constexpr bool operator<=(const unique_ptr<T, D>& x, nullptr_t); // constexpr since C++23
548 constexpr bool operator<=(nullptr_t, const unique_ptr<T, D>& y); // constexpr since C++23
550 constexpr bool operator>(const unique_ptr<T, D>& x, nullptr_t); // constexpr since C++23
552 constexpr bool operator>(nullptr_t, const unique_ptr<T, D>& y); // constexpr since C++23
554 constexpr bool operator>=(const unique_ptr<T, D>& x, nullptr_t); // constexpr since C++23
556 constexpr bool operator>=(nullptr_t, const unique_ptr<T, D>& y); // constexpr since C++23
560 …constexpr operator<=>(const unique_ptr<T, D>& x, nullptr_t); // C++20, constexpr since C++23
597 template <class D> shared_ptr(nullptr_t p, D d);
598 template <class D, class A> shared_ptr(nullptr_t p, D d, A a);
607 shared_ptr(nullptr_t) : shared_ptr() { }
660 bool operator==(const shared_ptr<T>& x, nullptr_t) noexcept;
662 bool operator==(nullptr_t, const shared_ptr<T>& y) noexcept; // removed in C++20
664 bool operator!=(const shared_ptr<T>& x, nullptr_t) noexcept; // removed in C++20
666 bool operator!=(nullptr_t, const shared_ptr<T>& y) noexcept; // removed in C++20
668 bool operator<(const shared_ptr<T>& x, nullptr_t) noexcept; // removed in C++20
670 bool operator<(nullptr_t, const shared_ptr<T>& y) noexcept; // removed in C++20
672 bool operator<=(const shared_ptr<T>& x, nullptr_t) noexcept; // removed in C++20
674 bool operator<=(nullptr_t, const shared_ptr<T>& y) noexcept; // removed in C++20
676 bool operator>(const shared_ptr<T>& x, nullptr_t) noexcept; // removed in C++20
678 bool operator>(nullptr_t, const shared_ptr<T>& y) noexcept; // removed in C++20
680 bool operator>=(const shared_ptr<T>& x, nullptr_t) noexcept; // removed in C++20
682 bool operator>=(nullptr_t, const shared_ptr<T>& y) noexcept; // removed in C++20
684 strong_ordering operator<=>(shared_ptr<T> const& x, nullptr_t) noexcept; // C++20