fpromise:: future_impl
Summary
Constructors and Destructors |
|
---|---|
future_impl()
|
|
future_impl(decltype(nullptr))
|
|
future_impl(promise_type promise)
|
|
future_impl(result_type result)
|
|
future_impl(future_impl && other)
|
|
future_impl(const future_impl &)
|
|
~future_impl()
|
Public types |
|
---|---|
error_type
|
usingtypename Promise::error_type
|
promise_type
|
usingPromise
|
result_type
|
usingtypename Promise::result_type
|
value_type
|
usingtypename Promise::value_type
|
Public functions |
|
---|---|
error()
|
R &
|
error() const
|
const R &
|
is_empty() const
|
bool
|
is_error() const
|
bool
|
is_ok() const
|
bool
|
is_pending() const
|
bool
|
is_ready() const
|
bool
|
operator bool() const
|
|
operator()(fpromise::context & context)
|
bool
|
operator=(future_impl && other)=default
|
|
operator=(decltype(nullptr))
|
|
operator=(promise_type promise)
|
|
operator=(result_type result)
|
|
operator=(const future_impl &)=delete
|
|
promise() const
|
const promise_type &
|
result()
|
result_type &
|
result() const
|
const result_type &
|
state() const
|
future_state
|
swap(future_impl & other)
|
void
|
take_error()
|
R
|
take_error_result()
|
error_result< error_type >
|
take_ok_result()
|
ok_result< value_type >
|
take_promise()
|
promise_type
|
take_result()
|
result_type
|
take_value()
|
R
|
value()
|
R &
|
value() const
|
const R &
|
Public types
error_type
typename Promise::error_type error_type
promise_type
Promise promise_type
result_type
typename Promise::result_type result_type
value_type
typename Promise::value_type value_type
Public functions
error
R & error()
error
const R & error() const
future_impl
future_impl()=default
future_impl
future_impl( decltype(nullptr) )
future_impl
future_impl( promise_type promise )
future_impl
future_impl( result_type result )
future_impl
future_impl( future_impl && other )
future_impl
future_impl( const future_impl & )=delete
is_empty
bool is_empty() const
is_error
bool is_error() const
is_ok
bool is_ok() const
is_pending
bool is_pending() const
is_ready
bool is_ready() const
operator bool
operator bool() const
operator()
bool operator()( fpromise::context & context )
operator=
future_impl & operator=( future_impl && other )=default
operator=
future_impl & operator=( decltype(nullptr) )
operator=
future_impl & operator=( promise_type promise )
operator=
future_impl & operator=( result_type result )
operator=
future_impl & operator=( const future_impl & )=delete
promise
const promise_type & promise() const
result
result_type & result()
result
const result_type & result() const
state
future_state state() const
swap
void swap( future_impl & other )
take_error
R take_error()
take_error_result
error_result< error_type > take_error_result()
take_ok_result
ok_result< value_type > take_ok_result()
take_promise
promise_type take_promise()
take_result
result_type take_result()
take_value
R take_value()
value
R & value()
value
const R & value() const
~future_impl
~future_impl()=default