std::layout_stride::mapping<Extents>:: stride
From cppreference.net
<
cpp
|
container
|
mdspan
|
layout stride
|
mapping
C++
Containers library
|
(C++17)
|
||||
| Sequence | ||||
|
(C++11)
|
||||
|
(C++26)
|
||||
|
(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::stride
|
||||
| Non-member functions | ||||
|
constexpr
index_type stride
(
rank_type i
)
const
noexcept
;
|
(C++23부터) | |
랭크 인덱스 i 에서 매핑의 스트라이드를 반환합니다. return strides_ [ i ] ; 와 동일합니다.
목차 |
매개변수
| i | - |
범위 내의 랭크 인덱스
[
0
,
rank_
)
|
반환값
지정된 랭크 인덱스에서의 스트라이드.
예제
|
이 섹션은 불완전합니다
이유: 예제 없음 |
참고 항목
|
스트라이드 배열을 얻음
(public member function) |
|
|
지정된 차원을 따른 스트라이드를 얻음
(
std::mdspan<T,Extents,LayoutPolicy,AccessorPolicy>
의
public member function)
|