Lines Matching refs:__p_

1887     promise<result_type>                                __p_;
1892 packaged_task() _NOEXCEPT : __p_(nullptr) {}
1902 __p_(allocator_arg, __a) {}
1912 : __f_(_VSTD::move(__other.__f_)), __p_(_VSTD::move(__other.__p_)) {}
1917 __p_ = _VSTD::move(__other.__p_);
1924 __p_.swap(__other.__p_);
1928 bool valid() const _NOEXCEPT {return __p_.__state_ != nullptr;}
1932 future<result_type> get_future() {return __p_.get_future();}
1945 if (__p_.__state_ == nullptr)
1947 if (__p_.__state_->__has_value())
1953 __p_.set_value(__f_(_VSTD::forward<_ArgTypes>(__args)...));
1958 __p_.set_exception(current_exception());
1967 if (__p_.__state_ == nullptr)
1969 if (__p_.__state_->__has_value())
1975 __p_.set_value_at_thread_exit(__f_(_VSTD::forward<_ArgTypes>(__args)...));
1980 __p_.set_exception_at_thread_exit(current_exception());
1991 __p_ = promise<result_type>();
2002 promise<result_type> __p_;
2007 packaged_task() _NOEXCEPT : __p_(nullptr) {}
2017 __p_(allocator_arg, __a) {}
2027 : __f_(_VSTD::move(__other.__f_)), __p_(_VSTD::move(__other.__p_)) {}
2032 __p_ = _VSTD::move(__other.__p_);
2039 __p_.swap(__other.__p_);
2043 bool valid() const _NOEXCEPT {return __p_.__state_ != nullptr;}
2047 future<result_type> get_future() {return __p_.get_future();}
2060 if (__p_.__state_ == nullptr)
2062 if (__p_.__state_->__has_value())
2069 __p_.set_value();
2074 __p_.set_exception(current_exception());
2083 if (__p_.__state_ == nullptr)
2085 if (__p_.__state_->__has_value())
2092 __p_.set_value_at_thread_exit();
2097 __p_.set_exception_at_thread_exit(current_exception());
2108 __p_ = promise<result_type>();