std::mdspan<T,Extents,LayoutPolicy,AccessorPolicy>:: extent
From cppreference.net
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
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
constexpr
index_type extent
(
rank_type r
)
const
noexcept
;
|
(C++23부터) | |
mdspan
의 랭크 인덱스
r
에서의 범위를 반환합니다.
return
extents
(
)
.
extent
(
r
)
;
와 동일합니다.
목차 |
매개변수
| r | - | 범위 크기를 가져올 랭크 인덱스 |
반환값
주어진 랭크 인덱스에서의 범위(extent).
예제
|
이 섹션은 불완전합니다
이유: 예제 없음 |
참고 항목
특정 랭크 인덱스에서
extents
의 동적 익스텐트 크기를 반환함
(
std::extents<IndexType,Extents...>
의 public 멤버 함수)
|
|
|
[static]
|
주어진 랭크 인덱스에서
mdspan
의 정적 익스텐트 크기를 반환함
(public static 멤버 함수) |