|
|
MDSPAN_INLINE_FUNCTION constexpr index_type | extent (size_t r) const noexcept |
| |
|
MDSPAN_INLINE_FUNCTION_DEFAULTED constexpr | mdspan (const mdspan &)=default |
| |
|
MDSPAN_INLINE_FUNCTION_DEFAULTED constexpr | mdspan (mdspan &&)=default |
| |
|
| MDSPAN_TEMPLATE_REQUIRES (class... SizeTypes,(_MDSPAN_FOLD_AND(_MDSPAN_TRAIT(is_convertible, SizeTypes, index_type)) &&_MDSPAN_FOLD_AND(_MDSPAN_TRAIT(is_nothrow_constructible, index_type, SizeTypes)) &&((sizeof...(SizeTypes)==rank())||(sizeof...(SizeTypes)==rank_dynamic())) &&_MDSPAN_TRAIT(is_constructible, mapping_type, extents_type) &&)) MDSPAN_INLINE_FUNCTION explicit const expr mdspan(data_handle_type p |
| |
|
SizeTypes | __map_acc_pair_t (mapping_type(extents_type(static_cast< index_type >(std::move(dynamic_extents))...)), accessor_type())) |
| |
|
| MDSPAN_TEMPLATE_REQUIRES (class SizeType, size_t N,(_MDSPAN_TRAIT(is_convertible, SizeType, index_type) &&_MDSPAN_TRAIT(is_nothrow_constructible, index_type, SizeType) &&((N==rank())||(N==rank_dynamic())) &&_MDSPAN_TRAIT(is_constructible, mapping_type, extents_type) &&)) MDSPAN_INLINE_FUNCTION const expr mdspan(data_handle_type p |
| |
|
const array< SizeType, N > | __map_acc_pair_t (mapping_type(extents_type(dynamic_extents)), accessor_type())) |
| |
|
| MDSPAN_FUNCTION_REQUIRES ((MDSPAN_INLINE_FUNCTION constexpr), mdspan,(data_handle_type p, const extents_type &exts),,(_MDSPAN_TRAIT(is_default_constructible, accessor_type) &&_MDSPAN_TRAIT(is_constructible, mapping_type, extents_type))) |
| |
|
| MDSPAN_FUNCTION_REQUIRES ((MDSPAN_INLINE_FUNCTION constexpr), mdspan,(data_handle_type p, const mapping_type &m),,(_MDSPAN_TRAIT(is_default_constructible, accessor_type))) |
| |
|
MDSPAN_INLINE_FUNCTION constexpr | mdspan (data_handle_type p, const mapping_type &m, const accessor_type &a) |
| |
|
| MDSPAN_TEMPLATE_REQUIRES (class OtherElementType, class OtherExtents, class OtherLayoutPolicy, class OtherAccessor,(_MDSPAN_TRAIT(is_constructible, mapping_type, typename OtherLayoutPolicy::template mapping< OtherExtents >) &&)) MDSPAN_INLINE_FUNCTION const expr mdspan(const mdspan< OtherElementType |
| |
|
OtherAccessor | __map_acc_pair_t (other.__mapping_ref(), other.__accessor_ref())) |
| |
|
MDSPAN_INLINE_FUNCTION_DEFAULTED _MDSPAN_CONSTEXPR_14_DEFAULTED mdspan & | operator= (const mdspan &)=default |
| |
|
MDSPAN_INLINE_FUNCTION_DEFAULTED _MDSPAN_CONSTEXPR_14_DEFAULTED mdspan & | operator= (mdspan &&)=default |
| |
|
| MDSPAN_TEMPLATE_REQUIRES (class SizeType,(_MDSPAN_TRAIT(is_convertible, SizeType, index_type) &&)) MDSPAN_FORCE_INLINE_FUNCTION const expr reference operator[](const array< SizeType |
| |
|
| rank ()> &indices) const |
| |
|
| MDSPAN_TEMPLATE_REQUIRES (class Index,(_MDSPAN_TRAIT(is_convertible, Index, index_type) &&_MDSPAN_TRAIT(is_nothrow_constructible, index_type, Index) &&extents_type::rank()==1)) MDSPAN_FORCE_INLINE_FUNCTION const expr reference operator[](Index idx) const |
| |
|
| MDSPAN_TEMPLATE_REQUIRES (class... SizeTypes,(_MDSPAN_FOLD_AND(_MDSPAN_TRAIT(is_convertible, SizeTypes, index_type)) &&_MDSPAN_FOLD_AND(_MDSPAN_TRAIT(is_nothrow_constructible, index_type, SizeTypes)) &&extents_type::rank()==sizeof...(SizeTypes))) MDSPAN_FORCE_INLINE_FUNCTION const expr reference operator()(SizeTypes... indices) const |
| |
|
| MDSPAN_TEMPLATE_REQUIRES (class SizeType,(_MDSPAN_TRAIT(is_convertible, SizeType, index_type) &&)) MDSPAN_FORCE_INLINE_FUNCTION const expr reference operator()(const array< SizeType |
| |
|
| rank ()> &indices) const |
| |
|
MDSPAN_INLINE_FUNCTION constexpr size_t | size () const noexcept |
| |
|
MDSPAN_INLINE_FUNCTION constexpr bool | empty () const noexcept |
| |
|
MDSPAN_INLINE_FUNCTION constexpr const extents_type & | extents () const noexcept |
| |
|
MDSPAN_INLINE_FUNCTION constexpr const data_handle_type & | data_handle () const noexcept |
| |
|
MDSPAN_INLINE_FUNCTION constexpr const mapping_type & | mapping () const noexcept |
| |
|
MDSPAN_INLINE_FUNCTION constexpr const accessor_type & | accessor () const noexcept |
| |
|
MDSPAN_INLINE_FUNCTION constexpr bool | is_unique () const noexcept |
| |
|
MDSPAN_INLINE_FUNCTION constexpr bool | is_exhaustive () const noexcept |
| |
|
MDSPAN_INLINE_FUNCTION constexpr bool | is_strided () const noexcept |
| |
|
MDSPAN_INLINE_FUNCTION constexpr index_type | stride (size_t r) const |
| |