[mdspan.sub.map.stride]

# 23 Containers library [[containers]](./#containers)

## 23.7 Views [[views]](views#mdspan.sub.map.stride)

### 23.7.3 Multidimensional access [[views.multidim]](views.multidim#mdspan.sub.map.stride)

#### 23.7.3.7 submdspan [[mdspan.sub]](mdspan.sub#map.stride)

#### 23.7.3.7.6 Specializations of submdspan_mapping [[mdspan.sub.map]](mdspan.sub.map#stride)

#### 23.7.3.7.6.4 layout_stride specialization of submdspan_mapping [mdspan.sub.map.stride]

[ð](#lib:layout_stride::mapping,submdspan-mapping-impl)

`template<class Extents>
template<class... SliceSpecifiers>
constexpr auto layout_stride::mapping<Extents>::submdspan-mapping-impl(
      SliceSpecifiers... slices) const -> see below;
`

[1](#1)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/containers.tex#L25843)

*Returns*: 

- [(1.1)](#1.1)

submdspan_mapping_result{*this, 0},
if Extents​::​rank() == 0 is true;

- [(1.2)](#1.2)

otherwise,submdspan_mapping_result{layout_stride::mapping(sub_ext, sub_strides), offset}
