Namespaces
Variants

std::mdspan<T,Extents,LayoutPolicy,AccessorPolicy>:: rank

From cppreference.net
static constexpr rank_type rank ( ) noexcept ;
(C++23 이후)

mdspan 의 차원 수를 반환합니다. return Extents :: rank ( ) 와 동일합니다.

목차

매개변수

(없음)

반환값

차원 수.

예제

참고 항목

[static]
extents 의 정적 rank를 반환합니다
( std::extents<IndexType,Extents...> 의 public static 멤버 함수)
mdspan 의 동적 rank를 반환합니다
(public static 멤버 함수)