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

concept for a valid type that supports in-place construction via emplace(...) More...

#include <async_ops.hpp>

Concept definition

template<typename Awaitable>
concept uni20::async::emplace_buffer_awaitable = requires(Awaitable& a, typename Awaitable::value_type v) {
typename Awaitable::value_type;
get_awaiter(a).await_resume().emplace(std::move(v));
}
concept for a valid type that supports in-place construction via emplace(...)
Definition async_ops.hpp:59
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 supports in-place construction via emplace(...)