mp-coro main
Coroutine support tools
mp_coro::awaiter_of Concept Reference

Detailed Description

Definition at line 73 of file concepts.h.

#include <mp-coro/concepts.h>

Concept definition

template<typename T, typename Value>
concept mp_coro::awaiter_of = awaiter<T> &&requires(T &&t) {
{ std::forward<T>(t).await_resume() } -> std::same_as<Value>;
}