Skip to content

Commit 1f1b978

Browse files
jensmaurertkoeppe
authored andcommitted
[template.slice.array] Harmonize presentation with neighboring parallel statements (#2024)
1 parent 8c50cba commit 1f1b978

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

source/numerics.tex

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7818,21 +7818,16 @@
78187818
\end{codeblock}
78197819

78207820
\pnum
7821-
The
7822-
\tcode{slice_array}
7823-
template is a helper template used by the
7824-
\tcode{slice}
7825-
subscript operator
7826-
7821+
This template is a helper template used by the
7822+
\tcode{slice} subscript operator
78277823
\begin{codeblock}
78287824
slice_array<T> valarray<T>::operator[](slice);
78297825
\end{codeblock}
78307826

7827+
\pnum
78317828
It has reference semantics to a subset of an array specified by a
78327829
\tcode{slice}
78337830
object.
7834-
7835-
\pnum
78367831
\begin{example}
78377832
The expression
78387833
\tcode{a[slice(1, 5, 3)] = b;}
@@ -8105,7 +8100,7 @@
81058100

81068101
\pnum
81078102
This template is a helper template used by the
8108-
\tcode{slice}
8103+
\tcode{gslice}
81098104
subscript operator
81108105

81118106
\indexlibrary{\idxcode{gslice_array}}%

0 commit comments

Comments
 (0)