23 Containers library [containers]

23.7 Views [views]

23.7.3 Multidimensional access [views.multidim]

23.7.3.7 submdspan [mdspan.sub]

23.7.3.7.5 submdspan slice canonicalization [mdspan.sub.canonical]

template<class IndexType, size_t.. Extents, class. SliceSpecifiers> constexpr auto submdspan_canonicalize_slices(const extents<IndexType, Extents..>& src, SliceSpecifiers.. slices);
Mandates: For each rank index k of src:
  • SliceSpecifiers..[k] is a submdspan slice type for IndexType, and
  • decltype(canonical-slice<IndexType>(slices..[k]) is a valid submdspan slice type for the
Preconditions: For each rank index k of src, canonical-slice<IndexType>(slices..[k]) is a valid submdspan slice for the
Returns: make_tuple(canonical-slice<IndexType>(slices).).

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant