Lines Matching refs:nullopt_t

24   struct nullopt_t{see below };
25 constexpr nullopt_t nullopt(unspecified );
43 template <class T> constexpr bool operator==(const optional<T>&, nullopt_t) noexcept;
44 template <class T> constexpr bool operator==(nullopt_t, const optional<T>&) noexcept;
45 template <class T> constexpr bool operator!=(const optional<T>&, nullopt_t) noexcept;
46 template <class T> constexpr bool operator!=(nullopt_t, const optional<T>&) noexcept;
47 template <class T> constexpr bool operator<(const optional<T>&, nullopt_t) noexcept;
48 template <class T> constexpr bool operator<(nullopt_t, const optional<T>&) noexcept;
49 template <class T> constexpr bool operator<=(const optional<T>&, nullopt_t) noexcept;
50 template <class T> constexpr bool operator<=(nullopt_t, const optional<T>&) noexcept;
51 template <class T> constexpr bool operator>(const optional<T>&, nullopt_t) noexcept;
52 template <class T> constexpr bool operator>(nullopt_t, const optional<T>&) noexcept;
53 template <class T> constexpr bool operator>=(const optional<T>&, nullopt_t) noexcept;
54 template <class T> constexpr bool operator>=(nullopt_t, const optional<T>&) noexcept;
88 constexpr optional(nullopt_t) noexcept;
105 optional &operator=(nullopt_t) noexcept;
187 struct nullopt_t
190 _LIBCPP_INLINE_VISIBILITY constexpr explicit nullopt_t(__secret_tag, __secret_tag) noexcept {}
193 /* inline */ constexpr nullopt_t nullopt{nullopt_t::__secret_tag{}, nullopt_t::__secret_tag{}};
511 static_assert(!is_same_v<__uncvref_t<value_type>, nullopt_t>,
512 "instantiation of optional with nullopt_t is ill-formed");
602 _LIBCPP_INLINE_VISIBILITY constexpr optional(nullopt_t) noexcept {}
669 optional& operator=(nullopt_t) noexcept
1024 operator==(const optional<_Tp>& __x, nullopt_t) noexcept
1032 operator==(nullopt_t, const optional<_Tp>& __x) noexcept
1040 operator!=(const optional<_Tp>& __x, nullopt_t) noexcept
1048 operator!=(nullopt_t, const optional<_Tp>& __x) noexcept
1056 operator<(const optional<_Tp>&, nullopt_t) noexcept
1064 operator<(nullopt_t, const optional<_Tp>& __x) noexcept
1072 operator<=(const optional<_Tp>& __x, nullopt_t) noexcept
1080 operator<=(nullopt_t, const optional<_Tp>&) noexcept
1088 operator>(const optional<_Tp>& __x, nullopt_t) noexcept
1096 operator>(nullopt_t, const optional<_Tp>&) noexcept
1104 operator>=(const optional<_Tp>&, nullopt_t) noexcept
1112 operator>=(nullopt_t, const optional<_Tp>& __x) noexcept