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

concept for validating a binary operation true if the operation result can be emplaced into the writer output type. More...

#include <async_ops.hpp>

Concept definition

template<typename A, typename B, typename Writer, typename Op>
concept uni20::async::async_binary_assignable = async_writer<Writer> && requires(Op op, async_value_t<A> a, async_value_t<B> b,
Writer& out) {
requires std::constructible_from<typename std::remove_cvref_t<decltype(out.write())>::value_type, decltype(op(a, b))>;
}
concept for validating a binary operation true if the operation result can be emplaced into the write...
Definition async_ops.hpp:161
An async_writer is satisfied if .write() returns a buffer supporting emplace(...).
Definition async_ops.hpp:104

Detailed Description

concept for validating a binary operation true if the operation result can be emplaced into the writer output type.