Namespaces
Variants

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

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

Prüft, ob (1-3) die zugrundeliegende Layout-Abbildung map_ oder (4-6) ihr Typ mapping_type die Semantik der Prädikat-Abbildungseigenschaften von LayoutMapping modelliert.

1-3) Sei func entweder (1) is_unique , (2) is_exhaustive , oder (3) is_strided , dann ist es äquivalent zu return map_. func ( ) ; .
4-6) Sei func entweder (4) is_always_unique , (5) is_always_exhaustive oder (6) is_always_strided , dann ist es äquivalent zu return mapping_type :: func ( ) ; .

Inhaltsverzeichnis

Parameter

(keine)

Rückgabewert

Siehe oben.

Beispiel

Siehe auch