Searched refs:nullopt_t (Results 1 - 6 of 6) sorted by relevance
/third_party/skia/include/private/ |
H A D | SkTOptional.h | 20 struct nullopt_t { struct 23 // nullopt_t must not be default-constructible. 24 explicit constexpr nullopt_t(tag) {} in nullopt_t() function 27 static constexpr nullopt_t nullopt{nullopt_t::tag{}}; 53 optional(nullopt_t) : optional() {} in optional() 132 optional& operator=(nullopt_t) { in operator =() 260 template <typename T> bool operator==(const optional<T>& a, nullopt_t) { in operator ==() 264 template <typename T> bool operator!=(const optional<T>& a, nullopt_t) { in operator !=() 268 template <typename T> bool operator<(const optional<T>&, nullopt_t) { in operator <() [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/types/ |
H A D | optional.h | 50 using std::nullopt_t; 72 // nullopt_t 76 struct nullopt_t { struct 78 explicit constexpr nullopt_t(optional_internal::init_t) noexcept {} 83 // A tag constant of type `absl::nullopt_t` used to indicate an empty 85 ABSL_INTERNAL_INLINE_CONSTEXPR(nullopt_t, nullopt, 86 nullopt_t(optional_internal::init_t())); 136 constexpr optional(nullopt_t) noexcept {} // NOLINT(runtime/explicit) 273 optional& operator=(nullopt_t) noexcept { 527 // T constraint checks. You can't have an optional of nullopt_t, in_place_ [all...] |
H A D | optional_test.cc | 188 absl::nullopt_t>::value)); in TEST() 586 std::is_nothrow_assignable<absl::optional<int>, absl::nullopt_t>::value)); in TEST() 588 absl::nullopt_t>::value)); in TEST() 1487 (std::is_same<absl::optional<int>::value_type, absl::nullopt_t>::value)); in TEST()
|
/third_party/node/deps/v8/src/base/ |
H A D | optional.h | 25 // http://en.cppreference.com/w/cpp/utility/optional/nullopt_t 26 struct nullopt_t { struct 27 constexpr explicit nullopt_t(int) {} in nullopt_t() function 36 constexpr nullopt_t nullopt(0); 434 constexpr Optional(nullopt_t) {} // NOLINT(runtime/explicit) in Optional() 519 Optional& operator=(nullopt_t) { in operator =() 733 constexpr bool operator==(const Optional<T>& opt, nullopt_t) { in operator ==() 738 constexpr bool operator==(nullopt_t, const Optional<T>& opt) { in operator ==() 743 constexpr bool operator!=(const Optional<T>& opt, nullopt_t) { in operator !=() 748 constexpr bool operator!=(nullopt_t, cons [all...] |
/third_party/googletest/googletest/include/gtest/internal/ |
H A D | gtest-port.h | 2380 inline ::absl::nullopt_t Nullopt() { return ::absl::nullopt; } in Nullopt() 2394 inline ::std::nullopt_t Nullopt() { return ::std::nullopt; }
|
/third_party/node/deps/googletest/include/gtest/internal/ |
H A D | gtest-port.h | 2400 inline ::absl::nullopt_t Nullopt() { return ::absl::nullopt; } in Nullopt() 2414 inline ::std::nullopt_t Nullopt() { return ::std::nullopt; }
|
Completed in 13 milliseconds