From 9d6c32701d612278392ba49bfb0b8d2d9596ac7c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tomasz=20Kami=C5=84ski?= Rename `submdspan_extents` to `subextents` and `submdspan_canonicalize_slices` to `canonical_slices`.
+This wording is relative to Modify Modify Modify -1- Let `slices` be the pack introduced by the following declaration:
+
+
+
+
+//
+mdspan_extents(const extents<IndexType, Extents...>&, SliceSpecifiers...);
+
+// submdspan_canonicalizecanonical_slices(const extents<IndexType, Extents...>& src,
+ Slices... slices);
+
+
+`submdspan` slice canonicalization
+
+template<class IndexType, size_t... Extents, class... Slices>
+ constexpr auto
+submdspan_canonicalizecanonical_slices(const extents<IndexType, Extents...>& src,
+ Slices... slices);
+
+
+
+mdspan_extents function
+template<class IndexType, size_t... Extents, class... SliceSpecifiers>
+ constexpr auto sub
+mdspan_extents(const extents<IndexType, Extents...>& src,
+ SliceSpecifiers... raw_slices);
+
+
+ auto [...slices] =
submdspan_canonicalizecanonical_slices(src, raw_slices...)
+
Modify
++++-5- Returns: An object `smr` of type `SMR` such that +
+
+- -5.1- smr.mapping.extents() == sub
+mdspan_extents(m.extents(), valid_slices...) is `true`; and- -5.2- […]
+
Modify
++++-5- Let `sub_ext` be the result of sub
+mdspan_extents(extents(), slices...) +and let `SubExtents` be `decltype(sub_ext)`.
Modify
++++-2- Let `slices` be the pack introduced by the following declaration: +
+ auto [...slices] =+submdspan_canonicalizecanonical_slices(src, raw_slices...) +