File tree Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Original file line number Diff line number Diff line change 19586
19586
19587
19587
public:
19588
19588
// \ref{mdspan.layout.stride.cons}, constructors
19589
- constexpr mapping() noexcept = default ;
19589
+ constexpr mapping() noexcept;
19590
19590
constexpr mapping(const mapping&) noexcept = default;
19591
19591
template<class OtherIndexType>
19592
19592
constexpr mapping(const extents_type&, span<OtherIndexType, @\exposid{rank_}@>) noexcept;
19698
19698
19699
19699
\rSec5[mdspan.layout.stride.cons]{Constructors}
19700
19700
19701
+ \indexlibraryctor{layout_stride::mapping}%
19702
+ \begin{itemdecl}
19703
+ constexpr mapping() noexcept;
19704
+ \end{itemdecl}
19705
+
19706
+ \begin{itemdescr}
19707
+ \pnum
19708
+ \expects
19709
+ \tcode{layout_right::mapping<extents_type>().required_span_size()}
19710
+ is representable as a value of type \tcode{index_type}\iref{basic.fundamental}.
19711
+
19712
+ \pnum
19713
+ \effects
19714
+ Direct-non-list-initializes \exposid{extents_} with \tcode{extents_type()}, and
19715
+ for all $d$ in the range $[0, \exposid{rank_})$,
19716
+ direct-non-list-initializes \tcode{\exposid{strides_}[$d$]} with
19717
+ \tcode{layout_right::mapping<extents_type>().stride($d$)}.
19718
+ \end{itemdescr}
19719
+
19701
19720
\indexlibraryctor{layout_stride::mapping}%
19702
19721
\begin{itemdecl}
19703
19722
template<class OtherIndexType>
You can’t perform that action at this time.
0 commit comments