1907819078 class AccessorPolicy = default_accessor<ElementType>>
1907919079 class mdspan;
1908019080
19081- // \ref{mdspan.submdspan }, \tcode{submdspan} creation
19081+ // \ref{mdspan.sub }, \tcode{submdspan} creation
1908219082 template<class OffsetType, class LengthType, class StrideType>
1908319083 struct strided_slice;
1908419084
1909119091 template<class IndexType, class... Extents, class... SliceSpecifiers>
1909219092 constexpr auto submdspan_extents(const extents<IndexType, Extents...>&, SliceSpecifiers...);
1909319093
19094- // \ref{mdspan.submdspan.submdspan }, \tcode{submdspan} function template
19094+ // \ref{mdspan.sub.sub }, \tcode{submdspan} function template
1909519095 template<class ElementType, class Extents, class LayoutPolicy,
1909619096 class AccessorPolicy, class... SliceSpecifiers>
1909719097 constexpr auto submdspan(
1997819978 private:
1997919979 extents_type @\exposid{extents_}@{}; // \expos
1998019980
19981- // \ref{mdspan.submdspan.mapping }, \tcode{submdspan} mapping specialization
19981+ // \ref{mdspan.sub.map }, \tcode{submdspan} mapping specialization
1998219982 template<class... SliceSpecifiers>
1998319983 constexpr auto @\exposid{submdspan-mapping-impl}@(SliceSpecifiers...) const // \expos
1998419984 -> @\seebelow@;
2030120301 private:
2030220302 extents_type @\exposid{extents_}@{}; // \expos
2030320303
20304- // \ref{mdspan.submdspan.mapping }, \tcode{submdspan} mapping specialization
20304+ // \ref{mdspan.sub.map }, \tcode{submdspan} mapping specialization
2030520305 template<class... SliceSpecifiers>
2030620306 constexpr auto @\exposid{submdspan-mapping-impl}@(SliceSpecifiers...) const // \expos
2030720307 -> @\seebelow@;
2062520625 extents_type @\exposid{extents_}@{}; // \expos
2062620626 array<index_type, @\exposid{rank_}@> @\exposid{strides_}@{}; // \expos
2062720627
20628- // \ref{mdspan.submdspan.mapping }, \tcode{submdspan} mapping specialization
20628+ // \ref{mdspan.sub.map }, \tcode{submdspan} mapping specialization
2062920629 template<class... SliceSpecifiers>
2063020630 constexpr auto @\exposid{submdspan-mapping-impl}@(SliceSpecifiers...) const // \expos
2063120631 -> @\seebelow@;
2094620946Otherwise, \tcode{false}.
2094720947\end{itemdescr}
2094820948
20949- \rSec4[mdspan.layout.leftpadded ]{Class template \tcode{layout_left_padded::mapping}}
20949+ \rSec4[mdspan.layout.leftpad ]{Class template \tcode{layout_left_padded::mapping}}
2095020950
20951- \rSec5[mdspan.layout.leftpadded .overview]{Overview}
20951+ \rSec5[mdspan.layout.leftpad .overview]{Overview}
2095220952
2095320953\pnum
2095420954\tcode{layout_left_padded} provides a layout mapping
@@ -20975,11 +20975,11 @@
2097520975 static constexpr size_t @\exposid{first-static-extent}@ = // \expos
2097620976 extents_type::static_extent(0);
2097720977
20978- // \ref{mdspan.layout.leftpadded .expo}, exposition-only members
20978+ // \ref{mdspan.layout.leftpad .expo}, exposition-only members
2097920979 static constexpr size_t @\exposid{static-padding-stride}@ = @\seebelow@; // \expos
2098020980
2098120981 public:
20982- // \ref{mdspan.layout.leftpadded .cons}, constructors
20982+ // \ref{mdspan.layout.leftpad .cons}, constructors
2098320983 constexpr mapping() noexcept : mapping(extents_type{}) {}
2098420984 constexpr mapping(const mapping&) noexcept = default;
2098520985 constexpr mapping(const extents_type&);
2100021000
2100121001 constexpr mapping& operator=(const mapping&) noexcept = default;
2100221002
21003- // \ref{mdspan.layout.leftpadded .obs}, observers
21003+ // \ref{mdspan.layout.leftpad .obs}, observers
2100421004 constexpr const extents_type& extents() const noexcept { return @\exposid{extents_}@; }
2100521005 constexpr array<index_type, rank_> strides() const noexcept;
2100621006
@@ -21022,10 +21022,10 @@
2102221022 friend constexpr bool operator==(const mapping&, const LayoutLeftPaddedMapping&) noexcept;
2102321023
2102421024 private:
21025- // \ref{mdspan.layout.leftpadded .expo}, exposition-only members
21025+ // \ref{mdspan.layout.leftpad .expo}, exposition-only members
2102621026 index_type @\exposid{stride-1}@ = @\exposid{static-padding-stride}@; // \expos
2102721027 extents_type @\exposid{extents_}@{}; // \expos
21028- // \ref{mdspan.submdspan.mapping }, submdspan mapping specialization
21028+ // \ref{mdspan.sub.map }, submdspan mapping specialization
2102921029 template<class... SliceSpecifiers>
2103021030 constexpr auto @\exposid{submdspan-mapping-impl}@(SliceSpecifiers...) const // \expos
2103121031 -> @\seebelow@;
2104721047that models \libconcept{regular} for each \tcode{E}.
2104821048
2104921049\pnum
21050- Throughout \ref{mdspan.layout.leftpadded },
21050+ Throughout \ref{mdspan.layout.leftpad },
2105121051let \tcode{P_rank} be the following
2105221052size \exposid{rank_} parameter pack of \tcode{size_}t values:
2105321053\begin{itemize}
2110021100is representable as a value of type \tcode{index_type}.
2110121101\end{itemize}
2110221102
21103- \rSec5[mdspan.layout.leftpadded .expo]{Exposition-only members}
21103+ \rSec5[mdspan.layout.leftpad .expo]{Exposition-only members}
2110421104
2110521105\begin{itemdecl}
2110621106static constexpr size_t @\exposid{static-padding-stride}@ = @\seebelow@;
2113721137\end{note}
2113821138\end{itemdescr}
2113921139
21140- \rSec5[mdspan.layout.leftpadded .cons]{Constructors}
21140+ \rSec5[mdspan.layout.leftpad .cons]{Constructors}
2114121141
2114221142\indexlibraryctor{layout_left_padded::mapping}%
2114321143\begin{itemdecl}
2143721437\end{note}
2143821438\end{itemdescr}
2143921439
21440- \rSec5[mdspan.layout.leftpadded .obs]{Observers}
21440+ \rSec5[mdspan.layout.leftpad .obs]{Observers}
2144121441
2144221442\begin{itemdecl}
2144321443constexpr array<index_type, @\exposid{rank_}@> strides() const noexcept;
2156821568Otherwise, \tcode{false}.
2156921569\end{itemdescr}
2157021570
21571- \rSec4[mdspan.layout.rightpadded ]{Class template \tcode{layout_right_padded::mapping}}
21571+ \rSec4[mdspan.layout.rightpad ]{Class template \tcode{layout_right_padded::mapping}}
2157221572
21573- \rSec5[mdspan.layout.rightpadded .overview]{Overview}
21573+ \rSec5[mdspan.layout.rightpad .overview]{Overview}
2157421574
2157521575\pnum
2157621576\tcode{layout_right_padded} provides a layout mapping
@@ -21598,11 +21598,11 @@
2159821598 static constexpr size_t @\exposid{last-static-extent}@ = // \expos
2159921599 extents_type::static_extent(@\exposid{rank_}@ - 1);
2160021600
21601- // \ref{mdspan.layout.rightpadded .expo}, exposition-only members
21601+ // \ref{mdspan.layout.rightpad .expo}, exposition-only members
2160221602 static constexpr size_t @\exposid{static-padding-stride}@ = @\seebelow@; // \expos
2160321603
2160421604 public:
21605- // \ref{mdspan.layout.rightpadded .cons}, constructors
21605+ // \ref{mdspan.layout.rightpad .cons}, constructors
2160621606 constexpr mapping() noexcept : mapping(extents_type{}) {}
2160721607 constexpr mapping(const mapping&) noexcept = default;
2160821608 constexpr mapping(const extents_type&);
2162421624
2162521625 constexpr mapping& operator=(const mapping&) noexcept = default;
2162621626
21627- // \ref{mdspan.layout.rightpadded .obs}, observers
21627+ // \ref{mdspan.layout.rightpad .obs}, observers
2162821628 constexpr const extents_type& extents() const noexcept { return extents_; }
2162921629 constexpr array<index_type, rank_> strides() const noexcept;
2163021630
@@ -21647,11 +21647,11 @@
2164721647 friend constexpr bool operator==(const mapping&, const LayoutRightPaddedMapping&) noexcept;
2164821648
2164921649 private:
21650- // \ref{mdspan.layout.rightpadded .expo}, exposition-only members
21650+ // \ref{mdspan.layout.rightpad .expo}, exposition-only members
2165121651 index_type @\exposid{stride-rm2}@ = @\exposid{static-padding-stride}@; // \expos
2165221652 extents_type @\exposid{extents_}@{}; // \expos
2165321653
21654- // \ref{mdspan.submdspan.mapping }, submdspan mapping specialization
21654+ // \ref{mdspan.sub.map }, submdspan mapping specialization
2165521655 template<class... SliceSpecifiers>
2165621656 constexpr auto @\exposid{submdspan-mapping-impl}@(SliceSpecifiers...) const // \expos
2165721657 -> @\seebelow@;
2167321673that models \libconcept{regular} for each \tcode{E}.
2167421674
2167521675\pnum
21676- Throughout \ref{mdspan.layout.rightpadded },
21676+ Throughout \ref{mdspan.layout.rightpad },
2167721677let \tcode{P_rank} be the following
2167821678size \exposid{rank_} parameter pack of \tcode{size_}t values:
2167921679\begin{itemize}
2172621726is representable as a value of type \tcode{index_type}.
2172721727\end{itemize}
2172821728
21729- \rSec5[mdspan.layout.rightpadded .expo]{Exposition-only members}
21729+ \rSec5[mdspan.layout.rightpad .expo]{Exposition-only members}
2173021730
2173121731\begin{itemdecl}
2173221732static constexpr size_t @\exposid{static-padding-stride}@ = @\seebelow@;
2176421764\end{note}
2176521765\end{itemdescr}
2176621766
21767- \rSec5[mdspan.layout.rightpadded .cons]{Constructors}
21767+ \rSec5[mdspan.layout.rightpad .cons]{Constructors}
2176821768
2176921769\indexlibraryctor{layout_right_padded::mapping}%
2177021770\begin{itemdecl}
2206522065\end{note}
2206622066\end{itemdescr}
2206722067
22068- \rSec5[mdspan.layout.rightpadded .obs]{Observers}
22068+ \rSec5[mdspan.layout.rightpad .obs]{Observers}
2206922069
2207022070\indexlibrarymember{layout_right_padded::mapping}{strides}%
2207122071\begin{itemdecl}
2299822998\end{codeblock}
2299922999\end{itemdescr}
2300023000
23001- \rSec3[mdspan.submdspan ]{\tcode{submdspan}}
23001+ \rSec3[mdspan.sub ]{\tcode{submdspan}}
2300223002
23003- \rSec4[mdspan.submdspan .overview]{Overview}
23003+ \rSec4[mdspan.sub .overview]{Overview}
2300423004
2300523005\pnum
2300623006The \tcode{submdspan} facilities create a new \tcode{mdspan}
2300923009the \tcode{SliceSpecifier} arguments.
2301023010
2301123011\pnum
23012- For each function defined in subclause \ref{mdspan.submdspan } that
23012+ For each function defined in subclause \ref{mdspan.sub } that
2301323013takes a parameter pack named \tcode{slices} as an argument:
2301423014
2301523015\begin{itemize}
2304323043 \end{itemize}
2304423044\end{itemize}
2304523045
23046- \rSec4[mdspan.submdspan .strided.slice]{\tcode{strided_slice}}
23046+ \rSec4[mdspan.sub .strided.slice]{\tcode{strided_slice}}
2304723047
2304823048\pnum
2304923049\tcode{strided_slice} represents a set of
2308223082Indices are selected from the half-open interval \range{1}{1 + 10}.
2308323083\end{note}
2308423084
23085- \rSec4[mdspan.submdspan.submdspan.mapping .result]{\tcode{submdspan_mapping_result}}
23085+ \rSec4[mdspan.sub.map .result]{\tcode{submdspan_mapping_result}}
2308623086
2308723087\pnum
2308823088Specializations of \tcode{submdspan_mapping_result}
2310823108\tcode{LayoutMapping} shall meet
2310923109the layout mapping requirements\iref{mdspan.layout.policy.reqmts}.
2311023110
23111- \rSec4[mdspan.submdspan .helpers]{Exposition-only helpers}
23111+ \rSec4[mdspan.sub .helpers]{Exposition-only helpers}
2311223112
2311323113\indexlibraryglobal{\exposid{de-ice}}%
2311423114\indexlibraryglobal{\exposid{first_}}%
2323123231\end{itemize}
2323223232\end{itemdescr}
2323323233
23234- \rSec4[mdspan.submdspan .extents]{\tcode{submdspan_extents} function}
23234+ \rSec4[mdspan.sub .extents]{\tcode{submdspan_extents} function}
2323523235
2323623236\indexlibraryglobal{submdspan_extents}%
2323723237\begin{itemdecl}
@@ -23338,12 +23338,12 @@
2333823338\end{itemize}
2333923339\end{itemdescr}
2334023340
23341- \rSec4[mdspan.submdspan.mapping ]{Specializations of \tcode{submdspan_mapping}}
23341+ \rSec4[mdspan.sub.map ]{Specializations of \tcode{submdspan_mapping}}
2334223342
23343- \rSec5[mdspan.submdspan.mapping .common]{Common}
23343+ \rSec5[mdspan.sub.map .common]{Common}
2334423344
2334523345\pnum
23346- The following elements apply to all functions in \ref{mdspan.submdspan.mapping }.
23346+ The following elements apply to all functions in \ref{mdspan.sub.map }.
2334723347
2334823348\pnum
2334923349\constraints
2340823408Let \tcode{offset} be a value of type \tcode{size_t} equal to
2340923409\tcode{(*this)(\exposid{first_}<index_type, P>(slices...)...)}.
2341023410
23411- \rSec5[mdspan.submdspan.mapping .left]{\tcode{layout_left} specialization of \tcode{submdspan_mapping}}
23411+ \rSec5[mdspan.sub.map .left]{\tcode{layout_left} specialization of \tcode{submdspan_mapping}}
2341223412
2341323413\indexlibrarymemberexpos{layout_left::mapping}{submdspan-mapping-impl}%
2341423414\begin{itemdecl}
2348923489\end{itemize}
2349023490\end{itemdescr}
2349123491
23492- \rSec5[mdspan.submdspan.mapping .right]{\tcode{layout_right} specialization of \tcode{submdspan_mapping}}
23492+ \rSec5[mdspan.sub.map .right]{\tcode{layout_right} specialization of \tcode{submdspan_mapping}}
2349323493
2349423494\indexlibrarymemberexpos{layout_right::mapping}{submdspan-mapping-impl}%
2349523495\begin{itemdecl}
2357323573\end{itemize}
2357423574\end{itemdescr}
2357523575
23576- \rSec5[mdspan.submdspan.mapping .stride]{\tcode{layout_stride} specialization of \tcode{submdspan_mapping}}
23576+ \rSec5[mdspan.sub.map .stride]{\tcode{layout_stride} specialization of \tcode{submdspan_mapping}}
2357723577
2357823578\indexlibrarymemberexpos{layout_stride::mapping}{submdspan-mapping-impl}%
2357923579\begin{itemdecl}
2359823598\end{itemize}
2359923599\end{itemdescr}
2360023600
23601- \rSec5[mdspan.submdspan.mapping.leftpadded ]{\tcode{layout_left_padded} specialization of \tcode{submdspan_mapping}}
23601+ \rSec5[mdspan.sub.map.leftpad ]{\tcode{layout_left_padded} specialization of \tcode{submdspan_mapping}}
2360223602
2360323603\indexlibrarymemberexpos{layout_left_padded::mapping}{submdspan-mapping-impl}%
2360423604\begin{itemdecl}
2367323673\end{itemize}
2367423674\end{itemdescr}
2367523675
23676- \rSec5[mdspan.submdspan.mapping.rightpadded ]{\tcode{layout_right_padded} specialization of \tcode{submdspan_mapping}}
23676+ \rSec5[mdspan.sub.map.rightpad ]{\tcode{layout_right_padded} specialization of \tcode{submdspan_mapping}}
2367723677
2367823678\indexlibrarymemberexpos{layout_right_padded::mapping}{submdspan-mapping-impl}%
2367923679\begin{itemdecl}
2375323753\end{itemize}
2375423754\end{itemdescr}
2375523755
23756- \rSec4[mdspan.submdspan.submdspan ]{\tcode{submdspan} function template}
23756+ \rSec4[mdspan.sub.sub ]{\tcode{submdspan} function template}
2375723757
2375823758\indexlibraryglobal{submdspan}%
2375923759\begin{itemdecl}
0 commit comments