Skip to content

Commit 35ea954

Browse files
committed
Avoid for\-ward.
Because the 'for' gets highlighted as a keyword.
1 parent 2cecc4d commit 35ea954

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
@@ -11892,7 +11892,7 @@
1189211892
\pnum
1189311893
\remarks
1189411894
The effects of \tcode{generate_random(r, g)} shall be equivalent to
11895-
\tcode{ranges::generate(std::for\-ward<R>(r), ref(g))}.
11895+
\tcode{ranges::generate(std::forward<R>(r), ref(g))}.
1189611896
\begin{note}
1189711897
This implies that \tcode{g.generate_random(a)} fills \tcode{a}
1189811898
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
@@ -10714,7 +10714,7 @@
1071410714
\pnum
1071510715
\expects
1071610716
\tcode{value_type} is \oldconcept{EmplaceConstructible} into \tcode{map}
10717-
from \tcode{piecewise_construct}, \tcode{for\-ward_as_tuple(k)},
10717+
from \tcode{piecewise_construct}, \tcode{forward_as_tuple(k)},
1071810718
\tcode{forward_as_tuple(std::forward<Args>(args)...)}.
1071910719

1072010720
\pnum
@@ -10752,7 +10752,7 @@
1075210752
\pnum
1075310753
\expects
1075410754
\tcode{value_type} is \oldconcept{EmplaceConstructible} into \tcode{map}
10755-
from \tcode{piecewise_construct}, \tcode{for\-ward_as_tuple(std::move(k))},
10755+
from \tcode{piecewise_construct}, \tcode{forward_as_tuple(std::move(k))},
1075610756
\tcode{forward_as_tuple(std::forward<Args>(args)...)}.
1075710757

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

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

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

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

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

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

source/ranges.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6655,7 +6655,7 @@
66556655
then \tcode{iterator_concept} denotes \tcode{bidirectio\-nal_iterator_tag}.
66566656
\item Otherwise, if \exposid{ref-is-glvalue} is \tcode{true} and
66576657
\exposid{Base} and \tcode{range_reference_t<\exposid{Base}>}
6658-
each model \libconceptx{for\-ward_range}{forward_range}, then \tcode{iterator_concept} denotes
6658+
each model \libconceptx{forward_range}{forward_range}, then \tcode{iterator_concept} denotes
66596659
\tcode{forward_iterator_tag}.
66606660
\item Otherwise, \tcode{iterator_concept} denotes \tcode{input_iterator_tag}.
66616661
\end{itemize}
@@ -11277,7 +11277,7 @@
1127711277
\item
1127811278
Otherwise,
1127911279
if \tcode{\exposconcept{all-forward}<Const, Views...>} is modeled,
11280-
then \tcode{iterator_concept} denotes \tcode{for\-ward_iterator_tag}.
11280+
then \tcode{iterator_concept} denotes \tcode{forward_iterator_tag}.
1128111281
\item
1128211282
Otherwise, \tcode{iterator_concept} denotes \tcode{input_iterator_tag}.
1128311283
\end{itemize}

source/threads.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11745,7 +11745,7 @@
1174511745
\begin{itemize}
1174611746
\item
1174711747
If \tcode{launch::async} is set in \tcode{policy}, calls
11748-
\tcode{invoke(auto(std::forward<F>(f)), auto(std::for\-ward<Args>(args))...)}\iref{func.invoke,thread.thread.constr}
11748+
\tcode{invoke(auto(std::forward<F>(f)), auto(std::forward<Args>(args))...)}\iref{func.invoke,thread.thread.constr}
1174911749
as if in a new thread of execution represented by a \tcode{thread} object
1175011750
with the values produced by \tcode{auto}
1175111751
being materialized\iref{conv.rval} in the thread that called \tcode{async}.
@@ -11763,7 +11763,7 @@
1176311763
\item
1176411764
If \tcode{launch::deferred} is set in \tcode{policy},
1176511765
stores \tcode{auto(std::forward<F>(f))} and
11766-
\tcode{auto(std::for\-ward<Args>(args))...}
11766+
\tcode{auto(std::forward<Args>(args))...}
1176711767
in the shared state. These copies of \tcode{f} and \tcode{args} constitute
1176811768
a \defnadj{deferred}{function}. Invocation of the deferred function evaluates
1176911769
\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
@@ -6817,7 +6817,7 @@
68176817
\effects
68186818
Calls \tcode{reset()}.
68196819
Then direct-non-list-initializes the contained value of type \tcode{VT}
6820-
with \tcode{std::for\-ward<Args>(args)...}.
6820+
with \tcode{std::forward<Args>(args)...}.
68216821

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

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

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

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

1419814198
\pnum
1419914199
\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