libycxx

class template

std::extents

Header
<mdspan>
Scope
std
cppreference
std::extents

Synopsis

template<class IndexType, size_t Extents...>
class extents;

Member types

NameDeclaration
index_typetype alias · member type= IndexType
rank_typetype alias · member type= size_t
size_typetype alias · member type= make_unsigned_t<conditional_t<md-index-type<IndexType>, IndexType, unsigned int>>

Member functions

NameDeclaration
extentsconstructor · 5 overloadsextents() +4 more
extentmember functionindex_type extent(rank_type i) const

Static member functions

NameDeclaration
rankstatic member functionrank_type rank()
rank_dynamicstatic member functionrank_type rank_dynamic()
static_extentstatic member functionsize_t static_extent(rank_type i)