From Jason Turner

[mdspan.sub.map.stride]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmp2sm_hk4f/{from.md → to.md} +18 -0
tmp/tmp2sm_hk4f/{from.md → to.md} RENAMED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ###### `layout_stride` specialization of `submdspan_mapping` <a id="mdspan.sub.map.stride">[[mdspan.sub.map.stride]]</a>
2
+
3
+ ``` cpp
4
+ template<class Extents>
5
+ template<class... SliceSpecifiers>
6
+ constexpr auto layout_stride::mapping<Extents>::submdspan-mapping-impl(
7
+ SliceSpecifiers... slices) const -> see below;
8
+ ```
9
+
10
+ *Returns:*
11
+
12
+ - `submdspan_mapping_result{*this, 0}`, if `Extents::rank() == 0` is
13
+ `true`;
14
+ - otherwise,
15
+ ``` cpp
16
+ submdspan_mapping_result{layout_stride::mapping(sub_ext, sub_strides), offset}
17
+ ```
18
+