Skip to content

Commit a4ee9da

Browse files
committed
Add missing \tcode markup
Signed-off-by: Matthias Kretz <[email protected]>
1 parent 3e518de commit a4ee9da

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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, \CppXref{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 \tcode{advance} and \tcode{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 $f$, even though the applications themselves may be unordered.\end{note}
349349

350350
The first argument to $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 $f$.\end{note} For each member of the \tcode{rest} parameter pack excluding $f$, an additional argument is passed to each application of $f$ as follows:

src/taskblock.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@
151151
\tcode{run(f)} (the continuation), or indeterminately sequenced within the same thread
152152
as the continuation. The call to \tcode{run} synchronizes with the call to the function
153153
object. The completion of the call to the function object synchronizes with the
154-
next invocation of wait on the same task_block or completion of the nearest
154+
next invocation of wait on the same \tcode{task_block} or completion of the nearest
155155
enclosing task block (i.e., the \tcode{define_task_block} or
156156
\tcode{define_task_block_restore_thread} that created this \tcode{task_block}).
157157

0 commit comments

Comments
 (0)