Skip to content

Commit 4bcd9be

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

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
@@ -11896,7 +11896,7 @@
1189611896
\pnum
1189711897
\remarks
1189811898
The effects of \tcode{generate_random(r, g)} shall be equivalent to
11899-
\tcode{ranges::generate(std::for\-ward<R>(r), ref(g))}.
11899+
\tcode{ranges::generate(std::forward<R>(r), ref(g))}.
1190011900
\begin{note}
1190111901
This implies that \tcode{g.generate_random(a)} fills \tcode{a}
1190211902
with the same values as produced by invocation of \tcode{g()}.

source/containers.tex

+8-8
Original file line numberDiff line numberDiff line change
@@ -11933,7 +11933,7 @@
1193311933
\pnum
1193411934
\expects
1193511935
\tcode{value_type} is \oldconcept{EmplaceConstructible} into \tcode{map}
11936-
from \tcode{piecewise_construct}, \tcode{for\-ward_as_tuple(k)},
11936+
from \tcode{piecewise_construct}, \tcode{forward_as_tuple(k)},
1193711937
\tcode{forward_as_tuple(std::forward<Args>(args)...)}.
1193811938

1193911939
\pnum
@@ -11971,7 +11971,7 @@
1197111971
\pnum
1197211972
\expects
1197311973
\tcode{value_type} is \oldconcept{EmplaceConstructible} into \tcode{map}
11974-
from \tcode{piecewise_construct}, \tcode{for\-ward_as_tuple(std::move(k))},
11974+
from \tcode{piecewise_construct}, \tcode{forward_as_tuple(std::move(k))},
1197511975
\tcode{forward_as_tuple(std::forward<Args>(args)...)}.
1197611976

1197711977
\pnum
@@ -12068,7 +12068,7 @@
1206812068
\effects
1206912069
If the map already contains an element \tcode{e}
1207012070
whose key is equivalent to \tcode{k},
12071-
assigns \tcode{std::for\-ward<M>(obj)} to \tcode{e.second}.
12071+
assigns \tcode{std::forward<M>(obj)} to \tcode{e.second}.
1207212072
Otherwise inserts an object of type \tcode{value_type}
1207312073
constructed with \tcode{k}, \tcode{std::forward<M>(obj)}.
1207412074

@@ -12102,13 +12102,13 @@
1210212102
\pnum
1210312103
\expects
1210412104
\tcode{value_type} is \oldconcept{EmplaceConstructible} into \tcode{map}
12105-
from \tcode{std::move(k)}, \tcode{std::for\-ward<M>(obj)}.
12105+
from \tcode{std::move(k)}, \tcode{std::forward<M>(obj)}.
1210612106

1210712107
\pnum
1210812108
\effects
1210912109
If the map already contains an element \tcode{e}
1211012110
whose key is equivalent to \tcode{k},
12111-
assigns \tcode{std::for\-ward<M>(obj)} to \tcode{e.second}.
12111+
assigns \tcode{std::forward<M>(obj)} to \tcode{e.second}.
1211212112
Otherwise inserts an object of type \tcode{value_type}
1211312113
constructed with \tcode{std::\brk{}move(k)}, \tcode{std::forward<M>(obj)}.
1211412114

@@ -14059,13 +14059,13 @@
1405914059
\pnum
1406014060
\expects
1406114061
\tcode{value_type} is \oldconcept{EmplaceConstructible} into \tcode{unordered_map}
14062-
from \tcode{k}, \tcode{std::for\-ward<M>(obj)}.
14062+
from \tcode{k}, \tcode{std::forward<M>(obj)}.
1406314063

1406414064
\pnum
1406514065
\effects
1406614066
If the map already contains an element \tcode{e}
1406714067
whose key is equivalent to \tcode{k},
14068-
assigns \tcode{std::for\-ward<M>(obj)} to \tcode{e.second}.
14068+
assigns \tcode{std::forward<M>(obj)} to \tcode{e.second}.
1406914069
Otherwise inserts an object of type \tcode{value_type}
1407014070
constructed with \tcode{k}, \tcode{std::forward<M>(obj)}.
1407114071

@@ -14105,7 +14105,7 @@
1410514105
\effects
1410614106
If the map already contains an element \tcode{e}
1410714107
whose key is equivalent to \tcode{k},
14108-
assigns \tcode{std::for\-ward<M>(obj)} to \tcode{e.second}.
14108+
assigns \tcode{std::forward<M>(obj)} to \tcode{e.second}.
1410914109
Otherwise inserts an object of type \tcode{value_type}
1411014110
constructed with \tcode{std::\brk{}move(k)}, \tcode{std::forward<M>(obj)}.
1411114111

source/ranges.tex

+2-2
Original file line numberDiff line numberDiff line change
@@ -6816,7 +6816,7 @@
68166816
then \tcode{iterator_concept} denotes \tcode{bidirectio\-nal_iterator_tag}.
68176817
\item Otherwise, if \exposid{ref-is-glvalue} is \tcode{true} and
68186818
\exposid{Base} and \tcode{range_reference_t<\exposid{Base}>}
6819-
each model \libconceptx{for\-ward_range}{forward_range}, then \tcode{iterator_concept} denotes
6819+
each model \libconceptx{forward_range}{forward_range}, then \tcode{iterator_concept} denotes
68206820
\tcode{forward_iterator_tag}.
68216821
\item Otherwise, \tcode{iterator_concept} denotes \tcode{input_iterator_tag}.
68226822
\end{itemize}
@@ -11502,7 +11502,7 @@
1150211502
\item
1150311503
Otherwise,
1150411504
if \tcode{\exposconcept{all-forward}<Const, Views...>} is modeled,
11505-
then \tcode{iterator_concept} denotes \tcode{for\-ward_iterator_tag}.
11505+
then \tcode{iterator_concept} denotes \tcode{forward_iterator_tag}.
1150611506
\item
1150711507
Otherwise, \tcode{iterator_concept} denotes \tcode{input_iterator_tag}.
1150811508
\end{itemize}

source/threads.tex

+2-2
Original file line numberDiff line numberDiff line change
@@ -11687,7 +11687,7 @@
1168711687
\begin{itemize}
1168811688
\item
1168911689
If \tcode{launch::async} is set in \tcode{policy}, calls
11690-
\tcode{invoke(auto(std::forward<F>(f)), auto(std::for\-ward<Args>(args))...)}\iref{func.invoke,thread.thread.constr}
11690+
\tcode{invoke(auto(std::forward<F>(f)), auto(std::forward<Args>(args))...)}\iref{func.invoke,thread.thread.constr}
1169111691
as if in a new thread of execution represented by a \tcode{thread} object
1169211692
with the values produced by \tcode{auto}
1169311693
being materialized\iref{conv.rval} in the thread that called \tcode{async}.
@@ -11705,7 +11705,7 @@
1170511705
\item
1170611706
If \tcode{launch::deferred} is set in \tcode{policy},
1170711707
stores \tcode{auto(std::forward<F>(f))} and
11708-
\tcode{auto(std::for\-ward<Args>(args))...}
11708+
\tcode{auto(std::forward<Args>(args))...}
1170911709
in the shared state. These copies of \tcode{f} and \tcode{args} constitute
1171011710
a \defnadj{deferred}{function}. Invocation of the deferred function evaluates
1171111711
\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
@@ -6848,7 +6848,7 @@
68486848
\effects
68496849
Calls \tcode{reset()}.
68506850
Then direct-non-list-initializes the contained value of type \tcode{VT}
6851-
with \tcode{std::for\-ward<Args>(args)...}.
6851+
with \tcode{std::forward<Args>(args)...}.
68526852

68536853
\pnum
68546854
\ensures
@@ -9727,7 +9727,7 @@
97279727
If \tcode{has_value()} is \tcode{true}, \tcode{expected<T, G>()}; otherwise, an
97289728
\tcode{expected<T, G>} object whose \exposid{has_val} member is \tcode{false}
97299729
and \exposid{unex} member is direct-non-list-initialized with
9730-
\tcode{invoke(std::for\-ward<F>(f), error())}.
9730+
\tcode{invoke(std::forward<F>(f), error())}.
97319731
\end{itemdescr}
97329732

97339733
\indexlibrarymember{transform_error}{expected<void>}%
@@ -9755,7 +9755,7 @@
97559755
If \tcode{has_value()} is \tcode{true}, \tcode{expected<T, G>()}; otherwise, an
97569756
\tcode{expected<T, G>} object whose \exposid{has_val} member is \tcode{false}
97579757
and \exposid{unex} member is direct-non-list-initialized with
9758-
\tcode{invoke(std::for\-ward<F>(f), std::move(error()))}.
9758+
\tcode{invoke(std::forward<F>(f), std::move(error()))}.
97599759
\end{itemdescr}
97609760

97619761
\rSec3[expected.void.eq]{Equality operators}
@@ -13786,7 +13786,7 @@
1378613786
\ensures
1378713787
\tcode{*this} has a target object of type \tcode{VT}
1378813788
direct-non-list-initialized with
13789-
\tcode{ilist, std::for\-ward<Args>(args)...}.
13789+
\tcode{ilist, std::forward<Args>(args)...}.
1379013790

1379113791
\pnum
1379213792
\throws
@@ -14211,7 +14211,7 @@
1421114211
\ensures
1421214212
\tcode{*this} has a target object of type \tcode{VT}
1421314213
direct-non-list-initialized with
14214-
\tcode{ilist, std::for\-ward<Args>(args)...}.
14214+
\tcode{ilist, std::forward<Args>(args)...}.
1421514215

1421614216
\pnum
1421714217
\throws

0 commit comments

Comments
 (0)