Skip to content

Commit fc7d7a2

Browse files
committed
[mdspan] Shorten subclause labels
1 parent 5a9fd75 commit fc7d7a2

File tree

1 file changed

+43
-43
lines changed

1 file changed

+43
-43
lines changed

source/containers.tex

Lines changed: 43 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -19066,7 +19066,7 @@
1906619066
class AccessorPolicy = default_accessor<ElementType>>
1906719067
class mdspan;
1906819068

19069-
// \ref{mdspan.submdspan}, \tcode{submdspan} creation
19069+
// \ref{mdspan.sub}, \tcode{submdspan} creation
1907019070
template<class OffsetType, class LengthType, class StrideType>
1907119071
struct strided_slice;
1907219072

@@ -19079,7 +19079,7 @@
1907919079
template<class IndexType, class... Extents, class... SliceSpecifiers>
1908019080
constexpr auto submdspan_extents(const extents<IndexType, Extents...>&, SliceSpecifiers...);
1908119081

19082-
// \ref{mdspan.submdspan.submdspan}, \tcode{submdspan} function template
19082+
// \ref{mdspan.sub.sub}, \tcode{submdspan} function template
1908319083
template<class ElementType, class Extents, class LayoutPolicy,
1908419084
class AccessorPolicy, class... SliceSpecifiers>
1908519085
constexpr auto submdspan(
@@ -19966,7 +19966,7 @@
1996619966
private:
1996719967
extents_type @\exposid{extents_}@{}; // \expos
1996819968

19969-
// \ref{mdspan.submdspan.mapping}, \tcode{submdspan} mapping specialization
19969+
// \ref{mdspan.sub.map}, \tcode{submdspan} mapping specialization
1997019970
template<class... SliceSpecifiers>
1997119971
constexpr auto @\exposid{submdspan-mapping-impl}@(SliceSpecifiers...) const // \expos
1997219972
-> @\seebelow@;
@@ -20289,7 +20289,7 @@
2028920289
private:
2029020290
extents_type @\exposid{extents_}@{}; // \expos
2029120291

20292-
// \ref{mdspan.submdspan.mapping}, \tcode{submdspan} mapping specialization
20292+
// \ref{mdspan.sub.map}, \tcode{submdspan} mapping specialization
2029320293
template<class... SliceSpecifiers>
2029420294
constexpr auto @\exposid{submdspan-mapping-impl}@(SliceSpecifiers...) const // \expos
2029520295
-> @\seebelow@;
@@ -20613,7 +20613,7 @@
2061320613
extents_type @\exposid{extents_}@{}; // \expos
2061420614
array<index_type, @\exposid{rank_}@> @\exposid{strides_}@{}; // \expos
2061520615

20616-
// \ref{mdspan.submdspan.mapping}, \tcode{submdspan} mapping specialization
20616+
// \ref{mdspan.sub.map}, \tcode{submdspan} mapping specialization
2061720617
template<class... SliceSpecifiers>
2061820618
constexpr auto @\exposid{submdspan-mapping-impl}@(SliceSpecifiers...) const // \expos
2061920619
-> @\seebelow@;
@@ -20934,9 +20934,9 @@
2093420934
Otherwise, \tcode{false}.
2093520935
\end{itemdescr}
2093620936

20937-
\rSec4[mdspan.layout.leftpadded]{Class template \tcode{layout_left_padded::mapping}}
20937+
\rSec4[mdspan.layout.leftpad]{Class template \tcode{layout_left_padded::mapping}}
2093820938

20939-
\rSec5[mdspan.layout.leftpadded.overview]{Overview}
20939+
\rSec5[mdspan.layout.leftpad.overview]{Overview}
2094020940

2094120941
\pnum
2094220942
\tcode{layout_left_padded} provides a layout mapping
@@ -20963,11 +20963,11 @@
2096320963
static constexpr size_t @\exposid{first-static-extent}@ = // \expos
2096420964
extents_type::static_extent(0);
2096520965

20966-
// \ref{mdspan.layout.leftpadded.expo}, exposition-only members
20966+
// \ref{mdspan.layout.leftpad.expo}, exposition-only members
2096720967
static constexpr size_t @\exposid{static-padding-stride}@ = @\seebelow@; // \expos
2096820968

2096920969
public:
20970-
// \ref{mdspan.layout.leftpadded.cons}, constructors
20970+
// \ref{mdspan.layout.leftpad.cons}, constructors
2097120971
constexpr mapping() noexcept : mapping(extents_type{}) {}
2097220972
constexpr mapping(const mapping&) noexcept = default;
2097320973
constexpr mapping(const extents_type&);
@@ -20988,7 +20988,7 @@
2098820988

2098920989
constexpr mapping& operator=(const mapping&) noexcept = default;
2099020990

20991-
// \ref{mdspan.layout.leftpadded.obs}, observers
20991+
// \ref{mdspan.layout.leftpad.obs}, observers
2099220992
constexpr const extents_type& extents() const noexcept { return @\exposid{extents_}@; }
2099320993
constexpr array<index_type, rank_> strides() const noexcept;
2099420994

@@ -21010,10 +21010,10 @@
2101021010
friend constexpr bool operator==(const mapping&, const LayoutLeftPaddedMapping&) noexcept;
2101121011

2101221012
private:
21013-
// \ref{mdspan.layout.leftpadded.expo}, exposition-only members
21013+
// \ref{mdspan.layout.leftpad.expo}, exposition-only members
2101421014
index_type @\exposid{stride-1}@ = @\exposid{static-padding-stride}@; // \expos
2101521015
extents_type @\exposid{extents_}@{}; // \expos
21016-
// \ref{mdspan.submdspan.mapping}, submdspan mapping specialization
21016+
// \ref{mdspan.sub.map}, submdspan mapping specialization
2101721017
template<class... SliceSpecifiers>
2101821018
constexpr auto @\exposid{submdspan-mapping-impl}@(SliceSpecifiers...) const // \expos
2101921019
-> @\seebelow@;
@@ -21035,7 +21035,7 @@
2103521035
that models \libconcept{regular} for each \tcode{E}.
2103621036

2103721037
\pnum
21038-
Throughout \ref{mdspan.layout.leftpadded},
21038+
Throughout \ref{mdspan.layout.leftpad},
2103921039
let \tcode{P_rank} be the following
2104021040
size \exposid{rank_} parameter pack of \tcode{size_}t values:
2104121041
\begin{itemize}
@@ -21088,7 +21088,7 @@
2108821088
is representable as a value of type \tcode{index_type}.
2108921089
\end{itemize}
2109021090

21091-
\rSec5[mdspan.layout.leftpadded.expo]{Exposition-only members}
21091+
\rSec5[mdspan.layout.leftpad.expo]{Exposition-only members}
2109221092

2109321093
\begin{itemdecl}
2109421094
static constexpr size_t @\exposid{static-padding-stride}@ = @\seebelow@;
@@ -21125,7 +21125,7 @@
2112521125
\end{note}
2112621126
\end{itemdescr}
2112721127

21128-
\rSec5[mdspan.layout.leftpadded.cons]{Constructors}
21128+
\rSec5[mdspan.layout.leftpad.cons]{Constructors}
2112921129

2113021130
\indexlibraryctor{layout_left_padded::mapping}%
2113121131
\begin{itemdecl}
@@ -21425,7 +21425,7 @@
2142521425
\end{note}
2142621426
\end{itemdescr}
2142721427

21428-
\rSec5[mdspan.layout.leftpadded.obs]{Observers}
21428+
\rSec5[mdspan.layout.leftpad.obs]{Observers}
2142921429

2143021430
\begin{itemdecl}
2143121431
constexpr array<index_type, @\exposid{rank_}@> strides() const noexcept;
@@ -21556,9 +21556,9 @@
2155621556
Otherwise, \tcode{false}.
2155721557
\end{itemdescr}
2155821558

21559-
\rSec4[mdspan.layout.rightpadded]{Class template \tcode{layout_right_padded::mapping}}
21559+
\rSec4[mdspan.layout.rightpad]{Class template \tcode{layout_right_padded::mapping}}
2156021560

21561-
\rSec5[mdspan.layout.rightpadded.overview]{Overview}
21561+
\rSec5[mdspan.layout.rightpad.overview]{Overview}
2156221562

2156321563
\pnum
2156421564
\tcode{layout_right_padded} provides a layout mapping
@@ -21586,11 +21586,11 @@
2158621586
static constexpr size_t @\exposid{last-static-extent}@ = // \expos
2158721587
extents_type::static_extent(@\exposid{rank_}@ - 1);
2158821588

21589-
// \ref{mdspan.layout.rightpadded.expo}, exposition-only members
21589+
// \ref{mdspan.layout.rightpad.expo}, exposition-only members
2159021590
static constexpr size_t @\exposid{static-padding-stride}@ = @\seebelow@; // \expos
2159121591

2159221592
public:
21593-
// \ref{mdspan.layout.rightpadded.cons}, constructors
21593+
// \ref{mdspan.layout.rightpad.cons}, constructors
2159421594
constexpr mapping() noexcept : mapping(extents_type{}) {}
2159521595
constexpr mapping(const mapping&) noexcept = default;
2159621596
constexpr mapping(const extents_type&);
@@ -21612,7 +21612,7 @@
2161221612

2161321613
constexpr mapping& operator=(const mapping&) noexcept = default;
2161421614

21615-
// \ref{mdspan.layout.rightpadded.obs}, observers
21615+
// \ref{mdspan.layout.rightpad.obs}, observers
2161621616
constexpr const extents_type& extents() const noexcept { return extents_; }
2161721617
constexpr array<index_type, rank_> strides() const noexcept;
2161821618

@@ -21635,11 +21635,11 @@
2163521635
friend constexpr bool operator==(const mapping&, const LayoutRightPaddedMapping&) noexcept;
2163621636

2163721637
private:
21638-
// \ref{mdspan.layout.rightpadded.expo}, exposition-only members
21638+
// \ref{mdspan.layout.rightpad.expo}, exposition-only members
2163921639
index_type @\exposid{stride-rm2}@ = @\exposid{static-padding-stride}@; // \expos
2164021640
extents_type @\exposid{extents_}@{}; // \expos
2164121641

21642-
// \ref{mdspan.submdspan.mapping}, submdspan mapping specialization
21642+
// \ref{mdspan.sub.map}, submdspan mapping specialization
2164321643
template<class... SliceSpecifiers>
2164421644
constexpr auto @\exposid{submdspan-mapping-impl}@(SliceSpecifiers...) const // \expos
2164521645
-> @\seebelow@;
@@ -21661,7 +21661,7 @@
2166121661
that models \libconcept{regular} for each \tcode{E}.
2166221662

2166321663
\pnum
21664-
Throughout \ref{mdspan.layout.rightpadded},
21664+
Throughout \ref{mdspan.layout.rightpad},
2166521665
let \tcode{P_rank} be the following
2166621666
size \exposid{rank_} parameter pack of \tcode{size_}t values:
2166721667
\begin{itemize}
@@ -21714,7 +21714,7 @@
2171421714
is representable as a value of type \tcode{index_type}.
2171521715
\end{itemize}
2171621716

21717-
\rSec5[mdspan.layout.rightpadded.expo]{Exposition-only members}
21717+
\rSec5[mdspan.layout.rightpad.expo]{Exposition-only members}
2171821718

2171921719
\begin{itemdecl}
2172021720
static constexpr size_t @\exposid{static-padding-stride}@ = @\seebelow@;
@@ -21752,7 +21752,7 @@
2175221752
\end{note}
2175321753
\end{itemdescr}
2175421754

21755-
\rSec5[mdspan.layout.rightpadded.cons]{Constructors}
21755+
\rSec5[mdspan.layout.rightpad.cons]{Constructors}
2175621756

2175721757
\indexlibraryctor{layout_right_padded::mapping}%
2175821758
\begin{itemdecl}
@@ -22053,7 +22053,7 @@
2205322053
\end{note}
2205422054
\end{itemdescr}
2205522055

22056-
\rSec5[mdspan.layout.rightpadded.obs]{Observers}
22056+
\rSec5[mdspan.layout.rightpad.obs]{Observers}
2205722057

2205822058
\indexlibrarymember{layout_right_padded::mapping}{strides}%
2205922059
\begin{itemdecl}
@@ -22986,9 +22986,9 @@
2298622986
\end{codeblock}
2298722987
\end{itemdescr}
2298822988

22989-
\rSec3[mdspan.submdspan]{\tcode{submdspan}}
22989+
\rSec3[mdspan.sub]{\tcode{submdspan}}
2299022990

22991-
\rSec4[mdspan.submdspan.overview]{Overview}
22991+
\rSec4[mdspan.sub.overview]{Overview}
2299222992

2299322993
\pnum
2299422994
The \tcode{submdspan} facilities create a new \tcode{mdspan}
@@ -22997,7 +22997,7 @@
2299722997
the \tcode{SliceSpecifier} arguments.
2299822998

2299922999
\pnum
23000-
For each function defined in subclause \ref{mdspan.submdspan} that
23000+
For each function defined in subclause \ref{mdspan.sub} that
2300123001
takes a parameter pack named \tcode{slices} as an argument:
2300223002

2300323003
\begin{itemize}
@@ -23031,7 +23031,7 @@
2303123031
\end{itemize}
2303223032
\end{itemize}
2303323033

23034-
\rSec4[mdspan.submdspan.strided.slice]{\tcode{strided_slice}}
23034+
\rSec4[mdspan.sub.strided.slice]{\tcode{strided_slice}}
2303523035

2303623036
\pnum
2303723037
\tcode{strided_slice} represents a set of
@@ -23070,7 +23070,7 @@
2307023070
Indices are selected from the half-open interval \range{1}{1 + 10}.
2307123071
\end{note}
2307223072

23073-
\rSec4[mdspan.submdspan.submdspan.mapping.result]{\tcode{submdspan_mapping_result}}
23073+
\rSec4[mdspan.sub.map.result]{\tcode{submdspan_mapping_result}}
2307423074

2307523075
\pnum
2307623076
Specializations of \tcode{submdspan_mapping_result}
@@ -23096,7 +23096,7 @@
2309623096
\tcode{LayoutMapping} shall meet
2309723097
the layout mapping requirements\iref{mdspan.layout.policy.reqmts}.
2309823098

23099-
\rSec4[mdspan.submdspan.helpers]{Exposition-only helpers}
23099+
\rSec4[mdspan.sub.helpers]{Exposition-only helpers}
2310023100

2310123101
\indexlibraryglobal{\exposid{de-ice}}%
2310223102
\indexlibraryglobal{\exposid{first_}}%
@@ -23219,7 +23219,7 @@
2321923219
\end{itemize}
2322023220
\end{itemdescr}
2322123221

23222-
\rSec4[mdspan.submdspan.extents]{\tcode{submdspan_extents} function}
23222+
\rSec4[mdspan.sub.extents]{\tcode{submdspan_extents} function}
2322323223

2322423224
\indexlibraryglobal{submdspan_extents}%
2322523225
\begin{itemdecl}
@@ -23326,12 +23326,12 @@
2332623326
\end{itemize}
2332723327
\end{itemdescr}
2332823328

23329-
\rSec4[mdspan.submdspan.mapping]{Specializations of \tcode{submdspan_mapping}}
23329+
\rSec4[mdspan.sub.map]{Specializations of \tcode{submdspan_mapping}}
2333023330

23331-
\rSec5[mdspan.submdspan.mapping.common]{Common}
23331+
\rSec5[mdspan.sub.map.common]{Common}
2333223332

2333323333
\pnum
23334-
The following elements apply to all functions in \ref{mdspan.submdspan.mapping}.
23334+
The following elements apply to all functions in \ref{mdspan.sub.map}.
2333523335

2333623336
\pnum
2333723337
\constraints
@@ -23396,7 +23396,7 @@
2339623396
Let \tcode{offset} be a value of type \tcode{size_t} equal to
2339723397
\tcode{(*this)(\exposid{first_}<index_type, P>(slices...)...)}.
2339823398

23399-
\rSec5[mdspan.submdspan.mapping.left]{\tcode{layout_left} specialization of \tcode{submdspan_mapping}}
23399+
\rSec5[mdspan.sub.map.left]{\tcode{layout_left} specialization of \tcode{submdspan_mapping}}
2340023400

2340123401
\indexlibrarymemberexpos{layout_left::mapping}{submdspan-mapping-impl}%
2340223402
\begin{itemdecl}
@@ -23477,7 +23477,7 @@
2347723477
\end{itemize}
2347823478
\end{itemdescr}
2347923479

23480-
\rSec5[mdspan.submdspan.mapping.right]{\tcode{layout_right} specialization of \tcode{submdspan_mapping}}
23480+
\rSec5[mdspan.sub.map.right]{\tcode{layout_right} specialization of \tcode{submdspan_mapping}}
2348123481

2348223482
\indexlibrarymemberexpos{layout_right::mapping}{submdspan-mapping-impl}%
2348323483
\begin{itemdecl}
@@ -23561,7 +23561,7 @@
2356123561
\end{itemize}
2356223562
\end{itemdescr}
2356323563

23564-
\rSec5[mdspan.submdspan.mapping.stride]{\tcode{layout_stride} specialization of \tcode{submdspan_mapping}}
23564+
\rSec5[mdspan.sub.map.stride]{\tcode{layout_stride} specialization of \tcode{submdspan_mapping}}
2356523565

2356623566
\indexlibrarymemberexpos{layout_stride::mapping}{submdspan-mapping-impl}%
2356723567
\begin{itemdecl}
@@ -23586,7 +23586,7 @@
2358623586
\end{itemize}
2358723587
\end{itemdescr}
2358823588

23589-
\rSec5[mdspan.submdspan.mapping.leftpadded]{\tcode{layout_left_padded} specialization of \tcode{submdspan_mapping}}
23589+
\rSec5[mdspan.sub.map.leftpad]{\tcode{layout_left_padded} specialization of \tcode{submdspan_mapping}}
2359023590

2359123591
\indexlibrarymemberexpos{layout_left_padded::mapping}{submdspan-mapping-impl}%
2359223592
\begin{itemdecl}
@@ -23661,7 +23661,7 @@
2366123661
\end{itemize}
2366223662
\end{itemdescr}
2366323663

23664-
\rSec5[mdspan.submdspan.mapping.rightpadded]{\tcode{layout_right_padded} specialization of \tcode{submdspan_mapping}}
23664+
\rSec5[mdspan.sub.map.rightpad]{\tcode{layout_right_padded} specialization of \tcode{submdspan_mapping}}
2366523665

2366623666
\indexlibrarymemberexpos{layout_right_padded::mapping}{submdspan-mapping-impl}%
2366723667
\begin{itemdecl}
@@ -23741,7 +23741,7 @@
2374123741
\end{itemize}
2374223742
\end{itemdescr}
2374323743

23744-
\rSec4[mdspan.submdspan.submdspan]{\tcode{submdspan} function template}
23744+
\rSec4[mdspan.sub.sub]{\tcode{submdspan} function template}
2374523745

2374623746
\indexlibraryglobal{submdspan}%
2374723747
\begin{itemdecl}

0 commit comments

Comments
 (0)