Skip to content

Commit 74eb68c

Browse files
committed
Fix internal references to use \ref
Signed-off-by: Matthias Kretz <[email protected]>
1 parent cc6d208 commit 74eb68c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/algorithms.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@
175175

176176
\pnum
177177
Each of the function templates in this subclause
178-
([parallel.alg.reductions]) returns a \defn{reduction object} of unspecified type
178+
(\ref{parallel.alg.reductions}) returns a \defn{reduction object} of unspecified type
179179
having a \defn{reduction value type} and encapsulating a \defn{reduction identity} value for
180180
the reduction, a \defn{combiner} function object, and a \defn{live-out object} from which the
181181
initial value is obtained and into which the final value is stored.
@@ -328,7 +328,7 @@
328328

329329
\begin{itemdescr}
330330
\pnum
331-
\requires For the overloads with an \tcode{ExecutionPolicy}, \tcode{I} shall be an integral type or meet the requirements of a forward iterator type; otherwise, \tcode{I} shall be an integral type or meet the requirements of an input iterator type. \tcode{Size} shall be an integral type and \tcode{n} shall be non-negative. \tcode{S} shall have integral type and \tcode{stride} shall have non-zero value. \tcode{stride} shall be negative only if \tcode{I} has integral type or meets the requirements of a bidirectional iterator. The \tcode{rest} parameter pack shall have at least one element, comprising objects returned by invocations of \tcode{reduction} ([parallel.alg.reduction]) and/or \tcode{induction} ([parallel.alg.induction]) function templates followed by exactly one invocable element-access function, {\em f}. For the overloads with an \tcode{ExecutionPolicy}, {\em f} shall meet the requirements of \tcode{CopyConstructible}; otherwise, {\em f} shall meet the requirements of \tcode{MoveConstructible}.
331+
\requires For the overloads with an \tcode{ExecutionPolicy}, \tcode{I} shall be an integral type or meet the requirements of a forward iterator type; otherwise, \tcode{I} shall be an integral type or meet the requirements of an input iterator type. \tcode{Size} shall be an integral type and \tcode{n} shall be non-negative. \tcode{S} shall have integral type and \tcode{stride} shall have non-zero value. \tcode{stride} shall be negative only if \tcode{I} has integral type or meets the requirements of a bidirectional iterator. The \tcode{rest} parameter pack shall have at least one element, comprising objects returned by invocations of \tcode{reduction} (\ref{parallel.alg.reductions}) and/or \tcode{induction} (\ref{parallel.alg.inductions}) function templates followed by exactly one invocable element-access function, $f$. For the overloads with an \tcode{ExecutionPolicy}, $f$ shall meet the requirements of \tcode{CopyConstructible}; otherwise, $f$ shall meet the requirements of \tcode{MoveConstructible}.
332332

333333
\pnum
334334
\effects Applies {\em f} to each element in the \defn{input sequence}, as described below, with additional arguments corresponding to the reductions and inductions in the \tcode{rest} parameter pack. The length of the input sequence is:

src/executionpolicies.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
parallel algorithm's execution may be vectorized. Additionally, such
6565
vectorization will result in an execution that respects the sequencing
6666
constraints of wavefront application
67-
(\hyperref[parallel.alg.general.wavefront]{[parallel.alg.general.wavefront]}).
67+
(\ref{parallel.alg.wavefront}).
6868
\begin{note}The implementation thus makes stronger guarantees than for
6969
\tcode{unsequenced_policy}, for example.\end{note}
7070

@@ -74,7 +74,7 @@
7474
execute in unordered fashion in the calling thread, unsequenced with respect to
7575
one another within the calling thread, subject to the sequencing constraints of
7676
wavefront application
77-
(\hyperref[parallel.alg.general.wavefront]{[parallel.alg.general.wavefront]})
77+
(\ref{parallel.alg.wavefront})
7878
for the last argument to \tcode{for_loop}, \tcode{for_loop_n},
7979
\tcode{for_loop_strided}, or \tcode{for_loop_strided_n}.
8080

0 commit comments

Comments
 (0)