• Home
  • Raw
  • Download

Lines Matching refs:nullopt_t

24   struct nullopt_t{see below };
25 inline constexpr nullopt_t nullopt(unspecified );
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;
55 template <class T> constexpr bool operator>=(const optional<T>&, nullopt_t) noexcept;
56 template <class T> constexpr bool operator>=(nullopt_t, const optional<T>&) noexcept;
90 constexpr optional(nullopt_t) noexcept;
107 optional &operator=(nullopt_t) noexcept;
198 struct nullopt_t
201 _LIBCPP_INLINE_VISIBILITY constexpr explicit nullopt_t(__secret_tag, __secret_tag) noexcept {}
204 _LIBCPP_INLINE_VAR constexpr nullopt_t nullopt{nullopt_t::__secret_tag{}, nullopt_t::__secret_tag{}…
598 static_assert(!is_same_v<__uncvref_t<value_type>, nullopt_t>,
599 "instantiation of optional with nullopt_t is ill-formed");
689 _LIBCPP_INLINE_VISIBILITY constexpr optional(nullopt_t) noexcept {}
756 optional& operator=(nullopt_t) noexcept
1122 operator==(const optional<_Tp>& __x, nullopt_t) noexcept
1130 operator==(nullopt_t, const optional<_Tp>& __x) noexcept
1138 operator!=(const optional<_Tp>& __x, nullopt_t) noexcept
1146 operator!=(nullopt_t, const optional<_Tp>& __x) noexcept
1154 operator<(const optional<_Tp>&, nullopt_t) noexcept
1162 operator<(nullopt_t, const optional<_Tp>& __x) noexcept
1170 operator<=(const optional<_Tp>& __x, nullopt_t) noexcept
1178 operator<=(nullopt_t, const optional<_Tp>&) noexcept
1186 operator>(const optional<_Tp>& __x, nullopt_t) noexcept
1194 operator>(nullopt_t, const optional<_Tp>&) noexcept
1202 operator>=(const optional<_Tp>&, nullopt_t) noexcept
1210 operator>=(nullopt_t, const optional<_Tp>& __x) noexcept