mp-coro
main
Coroutine support tools
mp_coro
awaitable
mp_coro::awaitable Concept Reference
Detailed Description
Definition at line
78
of file
concepts.h
.
#include <
mp-coro/concepts.h
>
Concept definition
template
<
typename
T>
concept
mp_coro::awaitable
=
requires
(T &&t) {
{
detail::get_awaiter
(std::forward<T>(t)) } ->
awaiter
;
}
mp_coro::awaitable
Definition:
concepts.h:78
mp_coro::awaiter
Definition:
concepts.h:63
mp_coro::detail::get_awaiter
decltype(auto) get_awaiter(T &&awaitable)
Apply member operator co_await if it exists, otherwise, apply global operator co_await if it exists,...
Definition:
get_awaiter.h:32
Generated by
1.9.5