Skip to content

Commit 006f586

Browse files
committed
Merge pull request #588 from tkoeppe/range
[macros] Add space into \Range, reflow [alg.transform]
2 parents dc277b4 + 1810a1c commit 006f586

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

source/algorithms.tex

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1581,12 +1581,12 @@
15811581
\requires
15821582
\tcode{op} and \tcode{binary_op}
15831583
shall not invalidate iterators or subranges, or modify elements in the ranges
1584-
\crange{first1}{last1},
1585-
\crange{first2}{first2 + (last1 - first1)},
1586-
and
1587-
\crange{result}
1588-
{result + (last1 - first1)}.\footnote{The use of fully
1584+
\begin{itemize}
1585+
\item \crange{first1}{last1},
1586+
\item \crange{first2}{first2 + (last1 - first1)}, and
1587+
\item \crange{result}{result + (last1 - first1)}.\footnote{The use of fully
15891588
closed ranges is intentional.}
1589+
\end{itemize}
15901590

15911591
\pnum
15921592
\returns

source/macros.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@
234234
\newcommand{\mname}[1]{\tcode{\unun\ungap#1\ungap\unun}}
235235

236236
%% Ranges
237-
\newcommand{\Range}[4]{\tcode{#1\brk{}#3,\brk{}#4\brk{}#2}\xspace}
237+
\newcommand{\Range}[4]{\tcode{#1#3,~\brk{}#4#2}\xspace}
238238
\newcommand{\crange}[2]{\Range{[}{]}{#1}{#2}}
239239
\newcommand{\brange}[2]{\Range{(}{]}{#1}{#2}}
240240
\newcommand{\orange}[2]{\Range{(}{)}{#1}{#2}}

0 commit comments

Comments
 (0)