class template · nested
std::layout_left::mapping
- Header
<mdspan>- Scope
std::layout_left- cppreference
- std::layout_left nearest page
Synopsis
template<class Extents>
class mapping;Member types
| Name | Declaration |
|---|---|
extents_typetype alias · member type | = Extents |
index_typetype alias · member type | = extents_type::index_type |
layout_typetype alias · member type | = layout_left |
rank_typetype alias · member type | = extents_type::rank_type |
size_typetype alias · member type | = extents_type::size_type |
Member functions
| Name | Declaration |
|---|---|
mappingconstructor · 7 overloads | mapping() +6 more |
operator=operator | mapping& operator=(const mapping& other) |
extentsmember function | const extents_type& extents() const |
operator()operator template | index_type operator()(Indices... i) const |
required_span_sizemember function | index_type required_span_size() const |
stridemember function | index_type stride(rank_type i) const |
Static member functions
| Name | Declaration |
|---|---|
is_always_exhaustivestatic member function | bool is_always_exhaustive() |
is_always_stridedstatic member function | bool is_always_strided() |
is_always_uniquestatic member function | bool is_always_unique() |
is_exhaustivestatic member function | bool is_exhaustive() |
is_stridedstatic member function | bool is_strided() |
is_uniquestatic member function | bool is_unique() |