std::layout_stride::mapping<Extents>::strides
From cppreference.com
< cpp | container | mdspan | layout stride | mapping
C++
Containers library
Sequence | ||||
(C++11)
|
||||
(C++26)
|
||||
(C++11)
|
||||
Associative | ||||
Unordered associative | ||||
(C++11)
|
||||
(C++11)
|
||||
(C++11)
|
||||
(C++11)
|
||||
Adaptors | ||||
(C++23)
|
||||
(C++23)
|
||||
(C++23)
|
||||
(C++23)
|
||||
Views | ||||
(C++20)
|
||||
(C++23)
|
||||
Tables | ||||
Iterator invalidation | ||||
Member function table | ||||
Non-member function table |
std::mdspan
|
std::layout_stride::mapping
Member functions | ||||
Observers | ||||
mapping::strides | ||||
Non-member functions | ||||
constexpr
std::array
<index_type, rank_> strides(
)
const
noexcept
;
|
(since C++23) | |
Returns an array of strides of the mapping. Equivalent to return strides_;.
Parameters
(none)
Return value
Array of strides
Example
This section is incomplete Reason: no example |
See also
obtains the stride along the specified dimension (public member function) |
|
obtains the stride along the specified dimension (public member function of std::mdspan<T,Extents,LayoutPolicy,AccessorPolicy> ) |