Lines Matching refs:nullopt_t

29     struct nullopt_t{see below};
30 constexpr nullopt_t nullopt(unspecified);
50 template <class T> constexpr bool operator==(const optional<T>&, nullopt_t) noexcept;
51 template <class T> constexpr bool operator==(nullopt_t, const optional<T>&) noexcept;
52 template <class T> constexpr bool operator!=(const optional<T>&, nullopt_t) noexcept;
53 template <class T> constexpr bool operator!=(nullopt_t, const optional<T>&) noexcept;
54 template <class T> constexpr bool operator<(const optional<T>&, nullopt_t) noexcept;
55 template <class T> constexpr bool operator<(nullopt_t, const optional<T>&) noexcept;
56 template <class T> constexpr bool operator<=(const optional<T>&, nullopt_t) noexcept;
57 template <class T> constexpr bool operator<=(nullopt_t, const optional<T>&) noexcept;
58 template <class T> constexpr bool operator>(const optional<T>&, nullopt_t) noexcept;
59 template <class T> constexpr bool operator>(nullopt_t, const optional<T>&) noexcept;
60 template <class T> constexpr bool operator>=(const optional<T>&, nullopt_t) noexcept;
61 template <class T> constexpr bool operator>=(nullopt_t, const optional<T>&) noexcept;
89 constexpr optional(nullopt_t) noexcept;
102 optional& operator=(nullopt_t) noexcept;
179 struct nullopt_t
181 explicit constexpr nullopt_t(int) noexcept {}
184 constexpr nullopt_t nullopt{0};
307 static_assert(!is_same<typename remove_cv<value_type>::type, nullopt_t>::value,
308 "Instantiation of optional with a nullopt_t type is ill-formed.");
318 _LIBCPP_INLINE_VISIBILITY constexpr optional(nullopt_t) noexcept {}
347 optional& operator=(nullopt_t) noexcept
661 operator==(const optional<_Tp>& __x, nullopt_t) noexcept
670 operator==(nullopt_t, const optional<_Tp>& __x) noexcept
679 operator!=(const optional<_Tp>& __x, nullopt_t) noexcept
688 operator!=(nullopt_t, const optional<_Tp>& __x) noexcept
697 operator<(const optional<_Tp>&, nullopt_t) noexcept
706 operator<(nullopt_t, const optional<_Tp>& __x) noexcept
715 operator<=(const optional<_Tp>& __x, nullopt_t) noexcept
724 operator<=(nullopt_t, const optional<_Tp>&) noexcept
733 operator>(const optional<_Tp>& __x, nullopt_t) noexcept
742 operator>(nullopt_t, const optional<_Tp>&) noexcept
751 operator>=(const optional<_Tp>&, nullopt_t) noexcept
760 operator>=(nullopt_t, const optional<_Tp>& __x) noexcept