diff --git a/source/containers.tex b/source/containers.tex index 032ffbbe53..c63a88d6a3 100644 --- a/source/containers.tex +++ b/source/containers.tex @@ -19819,7 +19819,7 @@ public: // \ref{mdspan.layout.stride.cons}, constructors - constexpr mapping() noexcept = default; + constexpr mapping() noexcept; constexpr mapping(const mapping&) noexcept = default; template constexpr mapping(const extents_type&, span) noexcept; @@ -19937,6 +19937,25 @@ \rSec5[mdspan.layout.stride.cons]{Constructors} +\indexlibraryctor{layout_stride::mapping}% +\begin{itemdecl} +constexpr mapping() noexcept; +\end{itemdecl} + +\begin{itemdescr} +\pnum +\expects +\tcode{layout_right::mapping().required_span_size()} +is representable as a value of type \tcode{index_type}\iref{basic.fundamental}. + +\pnum +\effects +Direct-non-list-initializes \exposid{extents_} with \tcode{extents_type()}, and +for all $d$ in the range \range{0}{\exposid{rank_}}, +direct-non-list-initializes \tcode{\exposid{strides_}[$d$]} with +\tcode{layout_right::mapping().stride($d$)}. +\end{itemdescr} + \indexlibraryctor{layout_stride::mapping}% \begin{itemdecl} template