libcoro  1.0
Coroutine support library for C++20

◆ has_exception()

template<typename T >
bool coro::shared_future< T >::has_exception ( ) const
inline

Determines, whether future has exception.

Return values
truefuture has exception
falsefuture hasn't exception
Note
future must be resolved otherwise undefined (use wait() )

Definition at line 1680 of file future.h.