Namespaces
Variants

std::mdspan<T,Extents,LayoutPolicy,AccessorPolicy>:: mapping-traits

From cppreference.net
constexpr bool is_unique ( ) const ;
(1) (C++23부터)
constexpr bool is_exhaustive ( ) const ;
(2) (C++23부터)
constexpr bool is_strided ( ) const ;
(3) (C++23부터)
static constexpr bool is_always_unique ( ) ;
(4) (C++23부터)
static constexpr bool is_always_exhaustive ( ) ;
(5) (C++23부터)
static constexpr bool is_always_strided ( ) ;
(6) (C++23부터)

(1-3) 기본 레이아웃 매핑 map_ 또는 (4-6) 그 타입 mapping_type LayoutMapping 의 술어 매핑 특성 의미론을 모델링하는지 확인합니다.

1-3) func (1) is_unique , (2) is_exhaustive , 또는 (3) is_strided 인 경우, 이는 return map_. func ( ) ; 와 동등합니다.
4-6) func (4) is_always_unique , (5) is_always_exhaustive , 또는 (6) is_always_strided 인 경우, 이는 다음 코드와 동등합니다: return mapping_type :: func ( ) ; .

목차

매개변수

(없음)

반환값

위를 참조하십시오.

예제

참고 항목