Skip to content

Commit 3db40d6

Browse files
committed
Avoid for\-ward.
Because the 'for' gets highlighted as a keyword.
1 parent 15d495c commit 3db40d6

File tree

5 files changed

+18
-18
lines changed

5 files changed

+18
-18
lines changed

source/algorithms.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11890,7 +11890,7 @@
1189011890
\pnum
1189111891
\remarks
1189211892
The effects of \tcode{generate_random(r, g)} shall be equivalent to
11893-
\tcode{ranges::generate(std::for\-ward<R>(r), ref(g))}.
11893+
\tcode{ranges::generate(std::forward<R>(r), ref(g))}.
1189411894
\begin{note}
1189511895
This implies that \tcode{g.generate_random(a)} fills \tcode{a}
1189611896
with the same values as produced by invocation of \tcode{g()}.

source/containers.tex

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10713,7 +10713,7 @@
1071310713
\pnum
1071410714
\expects
1071510715
\tcode{value_type} is \oldconcept{EmplaceConstructible} into \tcode{map}
10716-
from \tcode{piecewise_construct}, \tcode{for\-ward_as_tuple(k)},
10716+
from \tcode{piecewise_construct}, \tcode{forward_as_tuple(k)},
1071710717
\tcode{forward_as_tuple(std::forward<Args>(args)...)}.
1071810718

1071910719
\pnum
@@ -10751,7 +10751,7 @@
1075110751
\pnum
1075210752
\expects
1075310753
\tcode{value_type} is \oldconcept{EmplaceConstructible} into \tcode{map}
10754-
from \tcode{piecewise_construct}, \tcode{for\-ward_as_tuple(std::move(k))},
10754+
from \tcode{piecewise_construct}, \tcode{forward_as_tuple(std::move(k))},
1075510755
\tcode{forward_as_tuple(std::forward<Args>(args)...)}.
1075610756

1075710757
\pnum
@@ -10848,7 +10848,7 @@
1084810848
\effects
1084910849
If the map already contains an element \tcode{e}
1085010850
whose key is equivalent to \tcode{k},
10851-
assigns \tcode{std::for\-ward<M>(obj)} to \tcode{e.second}.
10851+
assigns \tcode{std::forward<M>(obj)} to \tcode{e.second}.
1085210852
Otherwise inserts an object of type \tcode{value_type}
1085310853
constructed with \tcode{k}, \tcode{std::forward<M>(obj)}.
1085410854

@@ -10882,13 +10882,13 @@
1088210882
\pnum
1088310883
\expects
1088410884
\tcode{value_type} is \oldconcept{EmplaceConstructible} into \tcode{map}
10885-
from \tcode{std::move(k)}, \tcode{std::for\-ward<M>(obj)}.
10885+
from \tcode{std::move(k)}, \tcode{std::forward<M>(obj)}.
1088610886

1088710887
\pnum
1088810888
\effects
1088910889
If the map already contains an element \tcode{e}
1089010890
whose key is equivalent to \tcode{k},
10891-
assigns \tcode{std::for\-ward<M>(obj)} to \tcode{e.second}.
10891+
assigns \tcode{std::forward<M>(obj)} to \tcode{e.second}.
1089210892
Otherwise inserts an object of type \tcode{value_type}
1089310893
constructed with \tcode{std::\brk{}move(k)}, \tcode{std::forward<M>(obj)}.
1089410894

@@ -12822,13 +12822,13 @@
1282212822
\pnum
1282312823
\expects
1282412824
\tcode{value_type} is \oldconcept{EmplaceConstructible} into \tcode{unordered_map}
12825-
from \tcode{k}, \tcode{std::for\-ward<M>(obj)}.
12825+
from \tcode{k}, \tcode{std::forward<M>(obj)}.
1282612826

1282712827
\pnum
1282812828
\effects
1282912829
If the map already contains an element \tcode{e}
1283012830
whose key is equivalent to \tcode{k},
12831-
assigns \tcode{std::for\-ward<M>(obj)} to \tcode{e.second}.
12831+
assigns \tcode{std::forward<M>(obj)} to \tcode{e.second}.
1283212832
Otherwise inserts an object of type \tcode{value_type}
1283312833
constructed with \tcode{k}, \tcode{std::forward<M>(obj)}.
1283412834

@@ -12868,7 +12868,7 @@
1286812868
\effects
1286912869
If the map already contains an element \tcode{e}
1287012870
whose key is equivalent to \tcode{k},
12871-
assigns \tcode{std::for\-ward<M>(obj)} to \tcode{e.second}.
12871+
assigns \tcode{std::forward<M>(obj)} to \tcode{e.second}.
1287212872
Otherwise inserts an object of type \tcode{value_type}
1287312873
constructed with \tcode{std::\brk{}move(k)}, \tcode{std::forward<M>(obj)}.
1287412874

source/ranges.tex

Lines changed: 2 additions & 2 deletions
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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11633,7 +11633,7 @@
1163311633
\begin{itemize}
1163411634
\item
1163511635
If \tcode{launch::async} is set in \tcode{policy}, calls
11636-
\tcode{invoke(auto(std::forward<F>(f)), auto(std::for\-ward<Args>(args))...)}\iref{func.invoke,thread.thread.constr}
11636+
\tcode{invoke(auto(std::forward<F>(f)), auto(std::forward<Args>(args))...)}\iref{func.invoke,thread.thread.constr}
1163711637
as if in a new thread of execution represented by a \tcode{thread} object
1163811638
with the values produced by \tcode{auto}
1163911639
being materialized\iref{conv.rval} in the thread that called \tcode{async}.
@@ -11651,7 +11651,7 @@
1165111651
\item
1165211652
If \tcode{launch::deferred} is set in \tcode{policy},
1165311653
stores \tcode{auto(std::forward<F>(f))} and
11654-
\tcode{auto(std::for\-ward<Args>(args))...}
11654+
\tcode{auto(std::forward<Args>(args))...}
1165511655
in the shared state. These copies of \tcode{f} and \tcode{args} constitute
1165611656
a \defnadj{deferred}{function}. Invocation of the deferred function evaluates
1165711657
\tcode{invoke(std::move(g), std::move(xyz))} where \tcode{g} is the stored value of

source/utilities.tex

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6807,7 +6807,7 @@
68076807
\effects
68086808
Calls \tcode{reset()}.
68096809
Then direct-non-list-initializes the contained value of type \tcode{VT}
6810-
with \tcode{std::for\-ward<Args>(args)...}.
6810+
with \tcode{std::forward<Args>(args)...}.
68116811

68126812
\pnum
68136813
\ensures
@@ -9684,7 +9684,7 @@
96849684
If \tcode{has_value()} is \tcode{true}, \tcode{expected<T, G>()}; otherwise, an
96859685
\tcode{expected<T, G>} object whose \exposid{has_val} member is \tcode{false}
96869686
and \exposid{unex} member is direct-non-list-initialized with
9687-
\tcode{invoke(std::for\-ward<F>(f), error())}.
9687+
\tcode{invoke(std::forward<F>(f), error())}.
96889688
\end{itemdescr}
96899689

96909690
\indexlibrarymember{transform_error}{expected<void>}%
@@ -9712,7 +9712,7 @@
97129712
If \tcode{has_value()} is \tcode{true}, \tcode{expected<T, G>()}; otherwise, an
97139713
\tcode{expected<T, G>} object whose \exposid{has_val} member is \tcode{false}
97149714
and \exposid{unex} member is direct-non-list-initialized with
9715-
\tcode{invoke(std::for\-ward<F>(f), std::move(error()))}.
9715+
\tcode{invoke(std::forward<F>(f), std::move(error()))}.
97169716
\end{itemdescr}
97179717

97189718
\rSec3[expected.void.eq]{Equality operators}
@@ -13762,7 +13762,7 @@
1376213762
\ensures
1376313763
\tcode{*this} has a target object of type \tcode{VT}
1376413764
direct-non-list-initialized with
13765-
\tcode{ilist, std::for\-ward<Args>(args)...}.
13765+
\tcode{ilist, std::forward<Args>(args)...}.
1376613766

1376713767
\pnum
1376813768
\throws
@@ -14187,7 +14187,7 @@
1418714187
\ensures
1418814188
\tcode{*this} has a target object of type \tcode{VT}
1418914189
direct-non-list-initialized with
14190-
\tcode{ilist, std::for\-ward<Args>(args)...}.
14190+
\tcode{ilist, std::forward<Args>(args)...}.
1419114191

1419214192
\pnum
1419314193
\throws

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy