std::mdspan<T,Extents,LayoutPolicy,AccessorPolicy>::stride
From cppreference.com
 
 
 
 
 
 C++ 
 Feature test macros (C++20)
 Concepts library (C++20)
 Metaprogramming library (C++11)
 Ranges library (C++20)
 Filesystem library (C++17)
 Concurrency support library (C++11)
 Execution control library (C++26)
Containers library 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
(C++17)
(C++11)
(C++26)
(C++26)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++23)
(C++23)
(C++23)
(C++23)
(C++20)
(C++23)
 Tables
std::mdspan 
 
 
 
 
 
 
 
 
 
 
 
 
 
mdspan::stride
(C++26)
(C++26)
(C++26)
(C++26)
(C++26)
(C++26)
(C++26)
(C++26)
(C++26)
constexpr index_type stride( rank_type r ) const;
 
 (since C++23) 
Returns the stride of the layout mapping map_ in rth dimension. Equivalent to return map_.stride(r);.
Contents
[edit] Parameters
 r
 -
 the index of the dimension
[edit] Return value
The stride.
[edit] Example
 This section is incomplete
Reason: no example
Reason: no example
[edit] See also
 This section is incomplete