tmp/tmphr4rzy4s/{from.md → to.md}
RENAMED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
##### Layout mapping policies <a id="mdspan.layout.policy.overview">[[mdspan.layout.policy.overview]]</a>
|
| 2 |
+
|
| 3 |
+
``` cpp
|
| 4 |
+
namespace std {
|
| 5 |
+
struct layout_left {
|
| 6 |
+
template<class Extents>
|
| 7 |
+
class mapping;
|
| 8 |
+
};
|
| 9 |
+
struct layout_right {
|
| 10 |
+
template<class Extents>
|
| 11 |
+
class mapping;
|
| 12 |
+
};
|
| 13 |
+
struct layout_stride {
|
| 14 |
+
template<class Extents>
|
| 15 |
+
class mapping;
|
| 16 |
+
};
|
| 17 |
+
}
|
| 18 |
+
```
|
| 19 |
+
|
| 20 |
+
Each of `layout_left`, `layout_right`, and `layout_stride` meets the
|
| 21 |
+
layout mapping policy requirements and is a trivial type.
|
| 22 |
+
|