Returns: A value
ext of type
SubExtents such that
for each rank index
k of
extents<IndexType, Extents...>,
where the type of
slices...[k] is not a collapsing slice type,
ext.extent(MAP_RANK(slices, k))
equals the following,
where
Οk denotes
slices...[k]:
- Οk.extent
if the type of Οk is a specialization of extent_slice,
- otherwise,
UβL, where [L, U) is the submdspan slice range
of Οk for the kth extent of src.