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

MdspecLike types whose eventual storage supports writes. More...

#include <concepts.hpp>

Concept definition

template<class S>
MdspecLike<S> && (!std::is_const_v<typename detail::span_type_t<S>::element_type>) &&
(MutableMdspanLike<S> || detail::AccessorReferenceAssignable<typename detail::span_type_t<S>::accessor_type>)
Mdspan metadata whose data handle is immediate or available through a data descriptor.
Definition mdspan/concepts.hpp:304
MdspanLike types whose accessor supports indexed assignment.
Definition mdspan/concepts.hpp:387
MdspecLike types whose eventual storage supports writes.
Definition mdspan/concepts.hpp:398

Detailed Description

MdspecLike types whose eventual storage supports writes.

Immediate spans use MutableMdspanLike. Deferred spans use the same accessor-reference assignment that will govern the resolved span.

Template Parameters
SThe mdspec-like type being evaluated.