Uni20
Asynchronous tensor and runtime library.
Loading...
Searching...
No Matches
uni20::async::write_buffer_awaitable_of Concept Reference

concept for a valid type that behaves as a write buffer awaitable This requires that T x; co_await a = x is valid. More...

#include <async_ops.hpp>

Concept definition

template<typename Awaitable, typename T>
concept uni20::async::write_buffer_awaitable_of = requires(Awaitable a) {
{ get_awaiter(a).await_resume() = std::declval<T>() };
}
concept for a valid type that behaves as a write buffer awaitable This requires that T x; co_await a ...
Definition async_ops.hpp:78
decltype(auto) get_awaiter(U &&u) noexcept
for an awaitable a, return the actual Awaitable object returned by co_await
Definition awaiters.hpp:225

Detailed Description

concept for a valid type that behaves as a write buffer awaitable This requires that T x; co_await a = x is valid.