Home
last modified time | relevance | path

Searched refs:__has_value (Results 1 – 5 of 5) sorted by relevance

/freebsd-13.1/contrib/llvm-project/libcxx/src/
H A Dfuture.cpp94 if (__has_value()) in set_value()
104 if (__has_value()) in set_value_at_thread_exit()
114 if (__has_value()) in set_exception()
125 if (__has_value()) in set_exception_at_thread_exit()
209 if (!__state_->__has_value() && __state_->use_count() > 1) in ~promise()
/freebsd-13.1/contrib/llvm-project/libcxx/include/__ranges/
H A Dcopyable_box.h72 if (__other.__has_value()) __val_.emplace(*__other); in noexcept()
86 if (__other.__has_value()) __val_.emplace(_VSTD::move(*__other)); in noexcept()
94 _LIBCPP_HIDE_FROM_ABI constexpr bool __has_value() const noexcept { return __val_.has_value(); } in __has_value() function
165 _LIBCPP_HIDE_FROM_ABI constexpr bool __has_value() const noexcept { return true; } in __has_value() function
H A Dnon_propagating_cache.h83 constexpr bool __has_value() const { return __value_.has_value(); } in __has_value() function
H A Ddrop_view.h74 if (__cached_begin_.__has_value()) in begin()
/freebsd-13.1/contrib/llvm-project/libcxx/include/
H A Dfuture555 bool __has_value() const
656 if (this->__has_value())
669 if (this->__has_value())
728 if (this->__has_value())
740 if (this->__has_value())
1343 if (!__state_->__has_value() && __state_->use_count() > 1)
1486 if (!__state_->__has_value() && __state_->use_count() > 1)
1954 if (__p_.__state_->__has_value())
1976 if (__p_.__state_->__has_value())
2083 if (__p_.__state_->__has_value())
[all …]