std::layout_stride::mapping<Extents>::stride
From cppreference.com
< cpp | container | mdspan | layout stride | mapping
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
(C++26)
(C++26)
(C++26)
(C++26)
(C++26)
(C++26)
(C++26)
(C++26)
(C++26)
std::layout_stride::mapping
mapping::stride
constexpr index_type stride(rank_type i) const noexcept;
(since C++23)
Returns the stride of the mapping at a rank index i. Equivalent to return strides_[i];
Contents
[edit] Parameters
i
-
a rank index in the range
[
0,
rank_)
[edit] Return value
The stride at a specified rank index.
[edit] Example
This section is incomplete
Reason: no example
Reason: no example