libycxx

class template · nested

std::layout_right_padded::mapping

Header
<mdspan>
Scope
std::layout_right_padded
cppreference
std::layout_right_padded nearest page

Synopsis

template<class Extents>
class mapping;

Member types

NameDeclaration
extents_typetype alias · member type= Extents
index_typetype alias · member type= extents_type::index_type
layout_typetype alias · member type= layout_right_padded<PaddingValue>
rank_typetype alias · member type= extents_type::rank_type
size_typetype alias · member type= extents_type::size_type

Member functions

NameDeclaration
mappingconstructor · 8 overloadsmapping() +7 more
operator=operatormapping& operator=(const mapping& other)
extentsmember functionconst extents_type& extents() const
is_exhaustivemember functionbool is_exhaustive() const
operator()operator templateindex_type operator()(Indices... idxs) const
required_span_sizemember functionindex_type required_span_size() const
stridemember functionindex_type stride(rank_type r) const
stridesmember functionarray<index_type, rank_> strides() const

Static member functions

NameDeclaration
is_always_exhaustivestatic member functionbool is_always_exhaustive()
is_always_stridedstatic member functionbool is_always_strided()
is_always_uniquestatic member functionbool is_always_unique()
is_stridedstatic member functionbool is_strided()
is_uniquestatic member functionbool is_unique()

Static data members

NameDeclaration
padding_valuestatic data membersize_t