|
constexpr | mdspan () |
|
constexpr | mdspan (data_handle_type ptr, extents_type const &ext) |
|
constexpr | mdspan (data_handle_type ptr, mapping_type const &m) |
|
constexpr | mdspan (data_handle_type ptr, mapping_type const &m, accessor_type const &a) |
|
template<typename... OtherIndexTypes>
requires ((is_convertible_v<OtherIndexTypes, index_type> and ...) and (is_nothrow_constructible_v<index_type, OtherIndexTypes> and ...) and ((sizeof...(OtherIndexTypes) == rank()) || (sizeof...(OtherIndexTypes) == rank_dynamic())) and is_constructible_v<mapping_type, extents_type> and is_default_constructible_v<accessor_type>) |
constexpr | mdspan (data_handle_type ptr, OtherIndexTypes... exts) |
|
constexpr | mdspan (mdspan &&rhs)=default |
|
constexpr | mdspan (mdspan const &rhs)=default |
|
span< OtherIndexType, N > | _acc () |
|
array< OtherIndexType, N > const | _acc () |
|
OtherAccessor const | _acc (other.accessor()) |
|
span< OtherIndexType, N > | _map (extents_type(exts)) |
|
array< OtherIndexType, N > const | _map (extents_type(exts)) |
|
OtherAccessor const | _map (other.mapping()) |
|
constexpr auto | accessor () const noexcept -> accessor_type const & |
|
constexpr auto | data_handle () const noexcept -> data_handle_type const & |
|
constexpr auto | empty () const noexcept -> bool |
|
template<typename OtherElement, typename OtherExtents, typename OtherLayout, typename OtherAccessor>
requires ((is_constructible_v<mapping_type, typename OtherLayout::template mapping<OtherExtents> const&> and is_constructible_v<accessor_type, OtherAccessor const&>)) |
| explicit ((not is_convertible_v< typename OtherLayout::template mapping< OtherExtents > const &, mapping_type > or not is_convertible_v< OtherAccessor const &, accessor_type >)) const expr mdspan(mdspan< OtherElement |
|
template<typename OtherIndexType, size_t N>
requires (is_convertible_v<OtherIndexType const&, index_type> and is_nothrow_constructible_v<index_type, OtherIndexType const&> and (N == rank() or N == rank_dynamic()) and is_constructible_v<mapping_type, extents_type> and is_default_constructible_v<accessor_type>) |
| explicit (N !=rank_dynamic()) const expr mdspan(data_handle_type p |
|
template<typename OtherIndexType, size_t N>
requires (is_convertible_v<OtherIndexType const&, index_type> and is_nothrow_constructible_v<index_type, OtherIndexType const&> and (N == rank() or N == rank_dynamic()) and is_constructible_v<mapping_type, extents_type> and is_default_constructible_v<accessor_type>) |
| explicit (N !=rank_dynamic()) const expr mdspan(data_handle_type p |
|
constexpr auto | extent (rank_type r) const noexcept -> index_type |
|
constexpr auto | extents () const noexcept -> extents_type const & |
|
constexpr auto | is_exhaustive () const -> bool |
|
constexpr auto | is_strided () const -> bool |
|
constexpr auto | is_unique () const -> bool |
|
constexpr auto | mapping () const noexcept -> mapping_type const & |
|
template<typename... OtherIndexTypes>
requires ( (is_convertible_v<OtherIndexTypes, index_type> && ...) and (is_nothrow_constructible_v<index_type, OtherIndexTypes> && ...) and sizeof...(OtherIndexTypes) == rank() ) |
constexpr auto | operator() (OtherIndexTypes... indices) const -> reference |
|
template<typename OtherIndexType>
requires (is_convertible_v<OtherIndexType const&, index_type> and is_nothrow_constructible_v<index_type, OtherIndexType const&>) |
constexpr auto | operator[] (array< OtherIndexType, rank()> const &indices) const -> reference |
|
template<typename OtherIndexType>
requires (is_convertible_v<OtherIndexType const&, index_type> and is_nothrow_constructible_v<index_type, OtherIndexType const&>) |
constexpr auto | operator[] (span< OtherIndexType, rank()> indices) const -> reference |
|
constexpr auto | size () const noexcept -> size_type |
|
constexpr auto | stride (rank_type r) const -> index_type |
|