From Jason Turner

[mdspan.layout.rightpad.expo]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmpmr45td4f/{from.md → to.md} +25 -0
tmp/tmpmr45td4f/{from.md → to.md} RENAMED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ###### Exposition-only members <a id="mdspan.layout.rightpad.expo">[[mdspan.layout.rightpad.expo]]</a>
2
+
3
+ ``` cpp
4
+ static constexpr size_t static-padding-stride = see below;
5
+ ```
6
+
7
+ The value is
8
+
9
+ - `0`, if *rank\_* equals zero or one;
10
+ - otherwise, `dynamic_extent`, if `padding_value` or
11
+ *last-static-extent* equals `dynamic_extent`;
12
+ - otherwise, the `size_t` value which is
13
+ *`LEAST-MULTIPLE-AT-LEAST`*`(padding_value, `*`last-static-extent`*`)`.
14
+
15
+ ``` cpp
16
+ index_type stride-rm2 = static-padding-stride;
17
+ ```
18
+
19
+ *Recommended practice:* Implementations should not store this value if
20
+ *static-padding-stride* is not `dynamic_extent`.
21
+
22
+ [*Note 11*: Using `extents<index_type, `*`static-padding-stride`*`>`
23
+ instead of `index_type` as the type of *stride-rm2* would achieve
24
+ this. — *end note*]
25
+