Espacios de nombres
Variantes
Acciones

std::mdspan<T,Extents,LayoutPolicy,AccessorPolicy>::is_unique, std::mdspan<T,Extents,LayoutPolicy,AccessorPolicy>::is_exhaustive, std::mdspan<T,Extents,LayoutPolicy,AccessorPolicy>::is_strided, std::mdspan<T,Extents,LayoutPolicy,AccessorPolicy>::is_always_unique, std::mdspan<T,Extents,LayoutPolicy,AccessorPolicy>::is_always_exhaustive, std::mdspan<T,Extents,LayoutPolicy,AccessorPolicy>::is_always_strided

De cppreference.com
< cpp‎ | container‎ | mdspan
 
 
 
 
Definido en el archivo de encabezado <mdspan>
constexpr bool is_unique() const;
(1) (desde C++23)
constexpr bool is_exhaustive() const;
(2) (desde C++23)
constexpr bool is_strided() const;
(3) (desde C++23)
Funciones miembro estáticas
static constexpr bool is_always_unique();
(4) (desde C++23)
static constexpr bool is_always_exhaustive();
(5) (desde C++23)
static constexpr bool is_always_strided();
(6) (desde C++23)

Comprueba si (1-3) la asignación de diseño map_ o (4-6) su tipo mapping_type satisface algunos rasgos.

1-3) Sea func (1) is_unique, (2) is_exhaustive, o (3) is_strided, entonces es equivalente a return map_.func();.
4-6) Sea func (4) is_always_unique, (5) is_always_exhaustive, o (6) is_always_strided, entonces es equivalente a return mapping_type::func();.

Contenido

[editar] Parámetros

(Ninguno)

[editar] Véase también

Véase arriba.

[editar] Ejemplo

[editar] Véase también