You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This means mdarray does not have the kind of access modality customization point functionality of mdspan, but that functionality is anyway intended for local specialization of accesses, and thus more suited for the view-like class.
Constructors
have constructors similar to mdspan
indicies
extents
mapping
Combine those with copy from container, and move from container
Combine all of those with add optional allocator
Move behavior
relies on containers move behavior
preconditions on problematic functions to check that container size is larger or equal to required_span_size()
The text was updated successfully, but these errors were encountered:
Super Brief
mdarray
introductionWhy we want
mdarray
Creating a simple 2D array with
mdspan
requires multiple steps becausemdspan
is non-owning.mdarray
is a multidimensional array with value-semantics and makes the above simplerWhat aspects of
mdspan
doesmdarray
havemdarray
has theelement_type
,extents
andmdspan
The accessor policy is replaced by a container type.
This means
mdarray
does not have the kind of access modality customization point functionality ofmdspan
, but that functionality is anyway intended for local specialization of accesses, and thus more suited for the view-like class.Constructors
extents
Move behavior
required_span_size()
The text was updated successfully, but these errors were encountered: