Uni20
Asynchronous tensor and runtime library.
Loading...
Searching...
No Matches
uni20::linalg::AsyncOperationScalar Concept Reference

Scalar argument that an async wrapper can await and convert. More...

#include <concepts.hpp>

Concept definition

template<class Value, class Scalar>
requires(detail::async_operation_scalar_awaiter_t<Value>& awaiter) {
requires OperationScalar<decltype(awaiter.await_resume()), Scalar>;
}
Concept for numeric scalar types (integer, real, or complex).
Definition scalar_concepts.hpp:81
Concept for awaitables that accept promise-neutral task ownership.
Definition async_task_promise.hpp:61
Scalar argument that an async wrapper can await and convert.
Definition linalg/async/concepts.hpp:44
Numeric argument that an operation can convert to its scalar type.
Definition operation_scalar.hpp:22

Detailed Description

Scalar argument that an async wrapper can await and convert.

Runtime-precision scalars also accept explicit construction from exact numeric sources, but not from precision or storage tags.