Skip to content

Commit f264746

Browse files
committed
Use standard C++17 reference
Signed-off-by: Matthias Kretz <[email protected]>
1 parent 2b77182 commit f264746

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/algorithms.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@
344344
\end{itemize}
345345

346346
The first element in the input sequence is \tcode{start}. Each subsequent element is generated by adding \tcode{stride} to the previous element, if \tcode{stride} is specified, otherwise by incrementing the previous element.
347-
\begin{note}As described in the \Cpp standard, section [algorithms.general], arithmetic on non-random-access iterators is performed using advance and distance.\end{note}
347+
\begin{note}As described in the \Cpp Standard, \CppXref{algorithms.general}, arithmetic on non-random-access iterators is performed using advance and distance.\end{note}
348348
\begin{note}The order of the elements of the input sequence is important for determining ordinal position of an application of {\em f}, even though the applications themselves may be unordered.\end{note}
349349

350350
The first argument to {\em f} is an element from the input sequence.\begin{note}If \tcode{I} is an iterator type, the iterators in the input sequence are not dereferenced before being passed to {\em f}.\end{note} For each member of the \tcode{rest} parameter pack excluding {\em f}, an additional argument is passed to each application of {\em f} as follows:

src/cxx.tex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
\cxxsec{description}{20.4}
3030
\cxxsec{structure.specifications}{20.4.1.4}
3131

32+
\cxxsec{algorithms.general}{28.1}
3233
\cxxsec{algorithms.parallel.exec}{28.4.3}
3334

3435
\cxxsec{numerics.defns}{29.2}

0 commit comments

Comments
 (0)