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

Mdspan metadata whose data handle is immediate or available through a data descriptor. More...

#include <concepts.hpp>

Concept definition

template<class S>
A model of the C++ mdspan AccessorPolicy named requirement.
Definition mdspan/concepts.hpp:62
A readable type implementing the mdspan observers and multidimensional subscript contract.
Definition mdspan/concepts.hpp:291
Mdspan metadata whose data handle is immediate or available through a data descriptor.
Definition mdspan/concepts.hpp:304

Detailed Description

Mdspan metadata whose data handle is immediate or available through a data descriptor.

Ordinary MdspanLike values model this concept as the immediate case. A deferred model instead exposes data_descriptor_type and data_descriptor() while retaining the actual mapping and accessor that will be used after handle acquisition. The concept does not require the concrete mdspec class.

Template Parameters
SThe type being tested for mdspec requirements.