|
| constexpr Span< OtherSizeType, N > | m_mapping (ExtentsType(exts)) |
| |
| constexpr Array< OtherSizeType, N > const | m_mapping (ExtentsType(exts)) |
| |
| OtherAccessor const | m_mapping (other.mapping()) |
| |
| OtherAccessor const | m_accessor (other.accessor()) |
| |
| constexpr auto | extent (RankType r) const -> SizeType |
| |
| | MDSpan ()=default |
| |
| | MDSpan (MDSpan const &)=default |
| |
| | MDSpan (MDSpan &&)=default |
| |
template<typename... OtherSizeTypes>
requires ((concepts::ConvertibleTo<OtherSizeTypes, SizeType> && ...) && (sizeof...(OtherSizeTypes) == rank() || ((sizeof...(OtherSizeTypes) == rank_dynamic()) && (concepts::ConstructibleFrom<MappingType, ExtentsType> && concepts::DefaultConstructible<AccessorType>) ))) |
| constexpr | MDSpan (DataHandle data_handle, OtherSizeTypes... exts) |
| |
| constexpr | MDSpan (DataHandle data_handle, ExtentsType const &ext) |
| |
| constexpr | MDSpan (DataHandle data_handle, MappingType const &mapping) |
| |
| constexpr | MDSpan (DataHandle data_handle, MappingType const &mapping, AccessorType const &accessor) |
| |
template<typename OtherSizeType, size_t N>
requires (concepts::ConvertibleTo<OtherSizeType, SizeType> && (N == rank() || N == rank_dynamic()) && concepts::ConstructibleFrom<MappingType, ExtentsType> && concepts::DefaultConstructible<AccessorType>) |
| constexpr | explicit (N !=rank_dynamic()) MDSpan(DataHandle data_handle |
| |
template<typename OtherSizeType, size_t N>
requires (concepts::ConvertibleTo<OtherSizeType, SizeType> && (N == rank() || N == rank_dynamic()) && concepts::ConstructibleFrom<MappingType, ExtentsType> && concepts::DefaultConstructible<AccessorType>) |
| constexpr | explicit (N !=rank_dynamic()) MDSpan(DataHandle data_handle |
| |
template<typename OtherElementType, typename OtherExtents, typename OtherLayout, typename OtherAccessor>
requires (concepts::ConstructibleFrom<MappingType, typename OtherLayout::template Mapping<OtherExtents> const&> && concepts::ConstructibleFrom<AccessorType, OtherAccessor const&>) |
| | explicit (!concepts::ConvertibleTo< typename OtherLayout::template Mapping< OtherExtents > const &, MappingType >||!concepts::ConvertibleTo< OtherAccessor const &, AccessorType >) const expr MDSpan(MDSpan< OtherElementType |
| |
| auto | operator= (MDSpan const &) -> MDSpan &=default |
| |
| auto | operator= (MDSpan &&) -> MDSpan &=default |
| |
template<typename... OtherSizeTypes>
requires (sizeof...(OtherSizeTypes) == rank() && (concepts::ConvertibleTo<OtherSizeTypes, SizeType> && ...)) |
| constexpr auto | operator[] (OtherSizeTypes... indices) const -> Reference |
| |
template<typename OtherSizeType>
requires (concepts::ConvertibleTo<OtherSizeType const&, SizeType>) |
| constexpr auto | operator[] (Span< OtherSizeType, rank()> indices) const -> Reference |
| |
template<typename OtherSizeType>
requires (concepts::ConvertibleTo<OtherSizeType const&, SizeType>) |
| constexpr auto | operator[] (Array< OtherSizeType, rank()> const &indices) const -> Reference |
| |
template<typename... OtherSizeTypes>
requires (sizeof...(OtherSizeTypes) == rank() && (concepts::ConvertibleTo<OtherSizeTypes, SizeType> && ...)) |
| constexpr auto | operator() (OtherSizeTypes... indices) const -> Reference |
| |
template<typename OtherSizeType>
requires (concepts::ConvertibleTo<OtherSizeType const&, SizeType>) |
| constexpr auto | operator() (Span< OtherSizeType, rank()> indices) const -> Reference |
| |
template<typename OtherSizeType>
requires (concepts::ConvertibleTo<OtherSizeType const&, SizeType>) |
| constexpr auto | operator() (Array< OtherSizeType, rank()> const &indices) const -> Reference |
| |
| constexpr auto | each () const |
| |
| constexpr auto | size () const -> size_t |
| |
| constexpr auto | empty () const -> bool |
| |
| constexpr auto | extents () const -> ExtentsType const & |
| |
| constexpr auto | data () const -> DataHandle const & |
| |
| constexpr auto | mapping () const -> MappingType const & |
| |
| constexpr auto | accessor () const -> AccessorType const & |
| |
| constexpr auto | is_unique () const -> bool |
| |
| constexpr auto | is_contiguous () const -> bool |
| |
| constexpr auto | is_strided () const -> bool |
| |
| constexpr auto | stride (RankType r) const -> SizeType |
| |