[mdspan.layout.leftpad.expo]

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

## 23.7 Views [[views]](views#mdspan.layout.leftpad.expo)

### 23.7.3 Multidimensional access [[views.multidim]](views.multidim#mdspan.layout.leftpad.expo)

#### 23.7.3.4 Layout mapping [[mdspan.layout]](mdspan.layout#leftpad.expo)

#### 23.7.3.4.8 Class template layout_left_padded​::​mapping [[mdspan.layout.leftpad]](mdspan.layout.leftpad#expo)

#### 23.7.3.4.8.2 Exposition-only members [mdspan.layout.leftpad.expo]

[ð](#itemdecl:1)

`static constexpr size_t static-padding-stride = see below;
`

[1](#1)

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

The value is

- [(1.1)](#1.1)

0, if *rank_* equals zero or one;

- [(1.2)](#1.2)

otherwise, dynamic_extent,
if padding_value or *first-static-extent* equalsdynamic_extent;

- [(1.3)](#1.3)

otherwise, the size_t value which is*LEAST-MULTIPLE-AT-LEAST*(padding_value, *first-static-extent*)[.](#1.sentence-1)

[ð](#itemdecl:2)

`index_type stride-1 = static-padding-stride;
`

[2](#2)

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

*Recommended practice*: Implementations should not store this value
if *static-padding-stride* is not dynamic_extent[.](#2.sentence-1)

[*Note [1](#note-1)*:

Using extents<index_type, *static-padding-stride*> instead ofindex_type as the type of *stride-1* would achieve this[.](#2.sentence-2)

â *end note*]
