Skip to content

Commit dbf90c5

Browse files
committed
Avoid for\-ward.
Because the 'for' gets highlighted as a keyword.
1 parent e6b0ba6 commit dbf90c5

File tree

5 files changed

+18
-18
lines changed

5 files changed

+18
-18
lines changed

source/algorithms.tex

+1-1
Original file line numberDiff line numberDiff line change
@@ -11714,7 +11714,7 @@
1171411714
\pnum
1171511715
\remarks
1171611716
The effects of \tcode{generate_random(r, g)} shall be equivalent to
11717-
\tcode{ranges::generate(std::for\-ward<R>(r), ref(g))}.
11717+
\tcode{ranges::generate(std::forward<R>(r), ref(g))}.
1171811718
\begin{note}
1171911719
This implies that \tcode{g.generate_random(a)} fills \tcode{a}
1172011720
with the same values as produced by invocation of \tcode{g()}.

source/containers.tex

+8-8
Original file line numberDiff line numberDiff line change
@@ -10773,7 +10773,7 @@
1077310773
\pnum
1077410774
\expects
1077510775
\tcode{value_type} is \oldconcept{EmplaceConstructible} into \tcode{map}
10776-
from \tcode{piecewise_construct}, \tcode{for\-ward_as_tuple(k)},
10776+
from \tcode{piecewise_construct}, \tcode{forward_as_tuple(k)},
1077710777
\tcode{forward_as_tuple(std::forward<Args>(args)...)}.
1077810778

1077910779
\pnum
@@ -10811,7 +10811,7 @@
1081110811
\pnum
1081210812
\expects
1081310813
\tcode{value_type} is \oldconcept{EmplaceConstructible} into \tcode{map}
10814-
from \tcode{piecewise_construct}, \tcode{for\-ward_as_tuple(std::move(k))},
10814+
from \tcode{piecewise_construct}, \tcode{forward_as_tuple(std::move(k))},
1081510815
\tcode{forward_as_tuple(std::forward<Args>(args)...)}.
1081610816

1081710817
\pnum
@@ -10908,7 +10908,7 @@
1090810908
\effects
1090910909
If the map already contains an element \tcode{e}
1091010910
whose key is equivalent to \tcode{k},
10911-
assigns \tcode{std::for\-ward<M>(obj)} to \tcode{e.second}.
10911+
assigns \tcode{std::forward<M>(obj)} to \tcode{e.second}.
1091210912
Otherwise inserts an object of type \tcode{value_type}
1091310913
constructed with \tcode{k}, \tcode{std::forward<M>(obj)}.
1091410914

@@ -10942,13 +10942,13 @@
1094210942
\pnum
1094310943
\expects
1094410944
\tcode{value_type} is \oldconcept{EmplaceConstructible} into \tcode{map}
10945-
from \tcode{std::move(k)}, \tcode{std::for\-ward<M>(obj)}.
10945+
from \tcode{std::move(k)}, \tcode{std::forward<M>(obj)}.
1094610946

1094710947
\pnum
1094810948
\effects
1094910949
If the map already contains an element \tcode{e}
1095010950
whose key is equivalent to \tcode{k},
10951-
assigns \tcode{std::for\-ward<M>(obj)} to \tcode{e.second}.
10951+
assigns \tcode{std::forward<M>(obj)} to \tcode{e.second}.
1095210952
Otherwise inserts an object of type \tcode{value_type}
1095310953
constructed with \tcode{std::\brk{}move(k)}, \tcode{std::forward<M>(obj)}.
1095410954

@@ -12890,13 +12890,13 @@
1289012890
\pnum
1289112891
\expects
1289212892
\tcode{value_type} is \oldconcept{EmplaceConstructible} into \tcode{unordered_map}
12893-
from \tcode{k}, \tcode{std::for\-ward<M>(obj)}.
12893+
from \tcode{k}, \tcode{std::forward<M>(obj)}.
1289412894

1289512895
\pnum
1289612896
\effects
1289712897
If the map already contains an element \tcode{e}
1289812898
whose key is equivalent to \tcode{k},
12899-
assigns \tcode{std::for\-ward<M>(obj)} to \tcode{e.second}.
12899+
assigns \tcode{std::forward<M>(obj)} to \tcode{e.second}.
1290012900
Otherwise inserts an object of type \tcode{value_type}
1290112901
constructed with \tcode{k}, \tcode{std::forward<M>(obj)}.
1290212902

@@ -12936,7 +12936,7 @@
1293612936
\effects
1293712937
If the map already contains an element \tcode{e}
1293812938
whose key is equivalent to \tcode{k},
12939-
assigns \tcode{std::for\-ward<M>(obj)} to \tcode{e.second}.
12939+
assigns \tcode{std::forward<M>(obj)} to \tcode{e.second}.
1294012940
Otherwise inserts an object of type \tcode{value_type}
1294112941
constructed with \tcode{std::\brk{}move(k)}, \tcode{std::forward<M>(obj)}.
1294212942

source/ranges.tex

+2-2
Original file line numberDiff line numberDiff line change
@@ -6649,7 +6649,7 @@
66496649
then \tcode{iterator_concept} denotes \tcode{bidirectio\-nal_iterator_tag}.
66506650
\item Otherwise, if \exposid{ref-is-glvalue} is \tcode{true} and
66516651
\exposid{Base} and \tcode{range_reference_t<\exposid{Base}>}
6652-
each model \libconceptx{for\-ward_range}{forward_range}, then \tcode{iterator_concept} denotes
6652+
each model \libconceptx{forward_range}{forward_range}, then \tcode{iterator_concept} denotes
66536653
\tcode{forward_iterator_tag}.
66546654
\item Otherwise, \tcode{iterator_concept} denotes \tcode{input_iterator_tag}.
66556655
\end{itemize}
@@ -11271,7 +11271,7 @@
1127111271
\item
1127211272
Otherwise,
1127311273
if \tcode{\exposconcept{all-forward}<Const, Views...>} is modeled,
11274-
then \tcode{iterator_concept} denotes \tcode{for\-ward_iterator_tag}.
11274+
then \tcode{iterator_concept} denotes \tcode{forward_iterator_tag}.
1127511275
\item
1127611276
Otherwise, \tcode{iterator_concept} denotes \tcode{input_iterator_tag}.
1127711277
\end{itemize}

source/threads.tex

+2-2
Original file line numberDiff line numberDiff line change
@@ -11636,7 +11636,7 @@
1163611636
\begin{itemize}
1163711637
\item
1163811638
If \tcode{launch::async} is set in \tcode{policy}, calls
11639-
\tcode{invoke(auto(std::forward<F>(f)), auto(std::for\-ward<Args>(args))...)}\iref{func.invoke,thread.thread.constr}
11639+
\tcode{invoke(auto(std::forward<F>(f)), auto(std::forward<Args>(args))...)}\iref{func.invoke,thread.thread.constr}
1164011640
as if in a new thread of execution represented by a \tcode{thread} object
1164111641
with the values produced by \tcode{auto}
1164211642
being materialized\iref{conv.rval} in the thread that called \tcode{async}.
@@ -11654,7 +11654,7 @@
1165411654
\item
1165511655
If \tcode{launch::deferred} is set in \tcode{policy},
1165611656
stores \tcode{auto(std::forward<F>(f))} and
11657-
\tcode{auto(std::for\-ward<Args>(args))...}
11657+
\tcode{auto(std::forward<Args>(args))...}
1165811658
in the shared state. These copies of \tcode{f} and \tcode{args} constitute
1165911659
a \defnadj{deferred}{function}. Invocation of the deferred function evaluates
1166011660
\tcode{invoke(std::move(g), std::move(xyz))} where \tcode{g} is the stored value of

source/utilities.tex

+5-5
Original file line numberDiff line numberDiff line change
@@ -6812,7 +6812,7 @@
68126812
\effects
68136813
Calls \tcode{reset()}.
68146814
Then direct-non-list-initializes the contained value of type \tcode{VT}
6815-
with \tcode{std::for\-ward<Args>(args)...}.
6815+
with \tcode{std::forward<Args>(args)...}.
68166816

68176817
\pnum
68186818
\ensures
@@ -9689,7 +9689,7 @@
96899689
If \tcode{has_value()} is \tcode{true}, \tcode{expected<T, G>()}; otherwise, an
96909690
\tcode{expected<T, G>} object whose \exposid{has_val} member is \tcode{false}
96919691
and \exposid{unex} member is direct-non-list-initialized with
9692-
\tcode{invoke(std::for\-ward<F>(f), error())}.
9692+
\tcode{invoke(std::forward<F>(f), error())}.
96939693
\end{itemdescr}
96949694

96959695
\indexlibrarymember{transform_error}{expected<void>}%
@@ -9717,7 +9717,7 @@
97179717
If \tcode{has_value()} is \tcode{true}, \tcode{expected<T, G>()}; otherwise, an
97189718
\tcode{expected<T, G>} object whose \exposid{has_val} member is \tcode{false}
97199719
and \exposid{unex} member is direct-non-list-initialized with
9720-
\tcode{invoke(std::for\-ward<F>(f), std::move(error()))}.
9720+
\tcode{invoke(std::forward<F>(f), std::move(error()))}.
97219721
\end{itemdescr}
97229722

97239723
\rSec3[expected.void.eq]{Equality operators}
@@ -13767,7 +13767,7 @@
1376713767
\ensures
1376813768
\tcode{*this} has a target object of type \tcode{VT}
1376913769
direct-non-list-initialized with
13770-
\tcode{ilist, std::for\-ward<Args>(args)...}.
13770+
\tcode{ilist, std::forward<Args>(args)...}.
1377113771

1377213772
\pnum
1377313773
\throws
@@ -14192,7 +14192,7 @@
1419214192
\ensures
1419314193
\tcode{*this} has a target object of type \tcode{VT}
1419414194
direct-non-list-initialized with
14195-
\tcode{ilist, std::for\-ward<Args>(args)...}.
14195+
\tcode{ilist, std::forward<Args>(args)...}.
1419614196

1419714197
\pnum
1419814198
\throws

0 commit comments

Comments
 (0)