46 [[nodiscard]] T &
nonvoid_get() const &requires std::is_reference_v<T> {
return this->
get(); }
void_type nonvoid_get() const
value_type && nonvoid_get() &&
typename storage< T >::value_type value_type
T & nonvoid_get() const &
const value_type & nonvoid_get() const &
std::variant< std::monostate, std::exception_ptr, T > result
Storage class that can either contain a value, an exception, or be empty.
void check_and_rethrow(const std::variant< Args... > &result)
If rethrow contains an exception, rethrow it.
decltype(std::declval< awaiter_for_t< A > >().await_resume()) await_result_t
std::conditional_t< std::is_void_v< await_result_t< T > >, void_type, await_result_t< T > > nonvoid_await_result_t