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 19819
19819
19820
19820
public:
19821
19821
// \ref{mdspan.layout.stride.cons}, constructors
19822
- constexpr mapping() noexcept = default ;
19822
+ constexpr mapping() noexcept;
19823
19823
constexpr mapping(const mapping&) noexcept = default;
19824
19824
template<class OtherIndexType>
19825
19825
constexpr mapping(const extents_type&, span<OtherIndexType, @\exposid{rank_}@>) noexcept;
19937
19937
19938
19938
\rSec5[mdspan.layout.stride.cons]{Constructors}
19939
19939
19940
+ \indexlibraryctor{layout_stride::mapping}%
19941
+ \begin{itemdecl}
19942
+ constexpr mapping() noexcept;
19943
+ \end{itemdecl}
19944
+
19945
+ \begin{itemdescr}
19946
+ \pnum
19947
+ \expects
19948
+ \tcode{layout_right::mapping<extents_type>().required_span_size()}
19949
+ is representable as a value of type \tcode{index_type}\iref{basic.fundamental}.
19950
+
19951
+ \pnum
19952
+ \effects
19953
+ Direct-non-list-initializes \exposid{extents_} with \tcode{extents_type()}, and
19954
+ for all $d$ in the range \range{0}{\exposid{rank_}},
19955
+ direct-non-list-initializes \tcode{\exposid{strides_}[$d$]} with
19956
+ \tcode{layout_right::mapping<extents_type>().stride($d$)}.
19957
+ \end{itemdescr}
19958
+
19940
19959
\indexlibraryctor{layout_stride::mapping}%
19941
19960
\begin{itemdecl}
19942
19961
template<class OtherIndexType>
You can’t perform that action at this time.
0 commit comments