libcoro
1.0
Coroutine support library for C++20
coro
shared_future
await_ready
await_suspend
get
get_promise
get_promise
has_exception
has_value
is_awaited
is_in_progress
is_pending
operator cast_ret_value
operator!
operator<<
operator<<
operator=
operator>>
requires
reset
set_callback
shared_future
shared_future
shared_future
State
then
wait
~shared_future
◆
has_value()
template<typename T >
bool
coro::shared_future
< T >::has_value
(
)
const
inline
Determines, whether future has a value.
Return values
true
future has value or exception
false
future has no value nor exception
Note
future must be resolved otherwise undefined (use
wait()
)
Definition at line
1669
of file
future.h
.
Generated on Fri Aug 2 2024 15:51:50 for libcoro by
1.9.1