Namespaces
Variants

std::mdspan<T,Extents,LayoutPolicy,AccessorPolicy>:: stride

From cppreference.net
constexpr index_type stride ( rank_type r ) const ;
(seit C++23)

Gibt die Schrittweite des Layout-Mappings map_ in der r ten Dimension zurück. Entspricht return map_. stride ( r ) ; .

Inhaltsverzeichnis

Parameter

r - der Index der Dimension

Rückgabewert

Der Stride.

Beispiel

Siehe auch