tmp/tmpqhtkxo_g/{from.md → to.md}
RENAMED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#### Header `<mdspan>` synopsis <a id="mdspan.syn">[[mdspan.syn]]</a>
|
| 2 |
+
|
| 3 |
+
``` cpp
|
| 4 |
+
namespace std {
|
| 5 |
+
// [mdspan.extents], class template extents
|
| 6 |
+
template<class IndexType, size_t... Extents>
|
| 7 |
+
class extents;
|
| 8 |
+
|
| 9 |
+
// [mdspan.extents.dextents], alias template dextents
|
| 10 |
+
template<class IndexType, size_t Rank>
|
| 11 |
+
using dextents = see below;
|
| 12 |
+
|
| 13 |
+
// [mdspan.layout], layout mapping
|
| 14 |
+
struct layout_left;
|
| 15 |
+
struct layout_right;
|
| 16 |
+
struct layout_stride;
|
| 17 |
+
|
| 18 |
+
// [mdspan.accessor.default], class template default_accessor
|
| 19 |
+
template<class ElementType>
|
| 20 |
+
class default_accessor;
|
| 21 |
+
|
| 22 |
+
// [mdspan.mdspan], class template mdspan
|
| 23 |
+
template<class ElementType, class Extents, class LayoutPolicy = layout_right,
|
| 24 |
+
class AccessorPolicy = default_accessor<ElementType>>
|
| 25 |
+
class mdspan;
|
| 26 |
+
}
|
| 27 |
+
```
|
| 28 |
+
|