Skip to content

Commit 15d495c

Browse files
committed
Remove awkward \linebreaks.
1 parent c0570c4 commit 15d495c

File tree

8 files changed

+63
-64
lines changed

8 files changed

+63
-64
lines changed

Diff for: source/algorithms.tex

+1-1
Original file line numberDiff line numberDiff line change
@@ -5602,7 +5602,7 @@
56025602
\tcode{invoke(op, invoke(proj, *(first1 + (i - result))))}
56035603
for unary transforms defined in namespace \tcode{ranges};
56045604
\item
5605-
\tcode{invoke(binary_op, invoke(proj1, *(first1 + (i - result))), invoke(proj2,\linebreak *(first2 + (i - result))))}
5605+
\tcode{invoke(binary_op, invoke(proj1, *(first1 + (i - result))), invoke(proj2, *(first2 + (i - result))))}
56065606
for binary transforms defined in namespace \tcode{ranges}.
56075607
\end{itemize}
56085608
\end{itemize}

Diff for: source/containers.tex

+24-25
Original file line numberDiff line numberDiff line change
@@ -2373,8 +2373,7 @@
23732373
Assigns \tcode{nh.ptr_} to \tcode{ptr_}.
23742374
\item
23752375
If \tcode{!alloc\textunderscore} or \tcode{ator_traits::propagate_on_container_move_assignment::value}
2376-
is \tcode{true}, \linebreak
2377-
move assigns \tcode{nh.alloc_} to \tcode{alloc_}.
2376+
is \tcode{true}, move assigns \tcode{nh.alloc_} to \tcode{alloc_}.
23782377
\item
23792378
Assigns
23802379
\keyword{nullptr} to \tcode{nh.ptr_} and assigns \tcode{nullopt} to
@@ -7389,14 +7388,14 @@
73897388
\pnum
73907389
\expects
73917390
\tcode{T} is \oldconcept{EmplaceConstructible} into \tcode{forward_list}
7392-
from \tcode{std::forward<Args>(\linebreak args)...}.
7391+
from \tcode{std::forward<Args>(args)...}.
73937392
\tcode{position} is \tcode{before_begin()} or is a dereferenceable
73947393
iterator in the range \range{begin()}{end()}.
73957394

73967395
\pnum
73977396
\effects
73987397
Inserts an object of type \tcode{value_type} direct-non-list-initialized with
7399-
\tcode{std::forward<Args>(\linebreak args)...} after \tcode{position}.
7398+
\tcode{std::forward<Args>(args)...} after \tcode{position}.
74007399

74017400
\pnum
74027401
\returns
@@ -9418,7 +9417,7 @@
94189417
\pnum
94199418
The expression
94209419
\tcode{\exposid{is-vector-bool-reference}<T>} is \tcode{true}
9421-
if \tcode{T} denotes the type \tcode{vector<bool, Alloc>::\linebreak{}reference}
9420+
if \tcode{T} denotes the type \tcode{vector<bool, Alloc>::reference}
94229421
for some type \tcode{Alloc} and
94239422
\tcode{vector<bool, Alloc>} is not a program-defined specialization.
94249423
\end{itemdescr}
@@ -10809,7 +10808,7 @@
1080910808
Otherwise, let \tcode{r} be \tcode{equal_range(k)}.
1081010809
Constructs an object \tcode{u} of type \tcode{value_type} with
1081110810
\tcode{piecewise_construct, forward_as_tuple(std::forward<K>(k)),
10812-
forward_as_tuple(std::forward<Args>(args)...)}.\linebreak
10811+
forward_as_tuple(std::forward<Args>(args)...)}.
1081310812
If \tcode{equal_range(u.first) == r} is \tcode{false},
1081410813
the behavior is undefined.
1081510814
Inserts \tcode{u} into \tcode{*this}.
@@ -16266,7 +16265,7 @@
1626616265
\pnum
1626716266
\effects
1626816267
Equivalent to \tcode{flat_map(s, key_cont, mapped_cont)} and
16269-
\tcode{flat_map(s, key_cont, \linebreak{}mapped_cont, comp)}, respectively,
16268+
\tcode{flat_map(s, key_cont, mapped_cont, comp)}, respectively,
1627016269
except that \tcode{c.keys} and \tcode{c.values} are constructed
1627116270
with uses-allocator construction\iref{allocator.uses.construction}.
1627216271

@@ -16449,7 +16448,7 @@
1644916448
\pnum
1645016449
\effects
1645116450
Initializes an object \tcode{t} of type \tcode{pair<key_type, mapped_type>}
16452-
with \tcode{std::forward<Args>(\linebreak args)...};
16451+
with \tcode{std::forward<Args>(args)...};
1645316452
if the map already contains an element
1645416453
whose key is equivalent to \tcode{t.first},
1645516454
\tcode{*this} is unchanged.
@@ -16726,7 +16725,7 @@
1672616725
\effects
1672716726
If the map already contains an element \tcode{e}
1672816727
whose key is equivalent to \tcode{k},
16729-
assigns \tcode{std::forward<\linebreak M>(obj)} to \tcode{e.second}.
16728+
assigns \tcode{std::forward<M>(obj)} to \tcode{e.second}.
1673016729
Otherwise, equivalent to
1673116730
\begin{codeblock}
1673216731
try_emplace(std::forward<decltype(k)>(k), std::forward<M>(obj))
@@ -16781,7 +16780,7 @@
1678116780
\effects
1678216781
If the map already contains an element \tcode{e}
1678316782
whose key is equivalent to \tcode{k},
16784-
assigns \tcode{std::forward<\linebreak M>(obj)} to \tcode{e.second}.
16783+
assigns \tcode{std::forward<M>(obj)} to \tcode{e.second}.
1678516784
Otherwise, equivalent to
1678616785
\begin{codeblock}
1678716786
try_emplace(std::forward<K>(k), std::forward<M>(obj))
@@ -17386,14 +17385,14 @@
1738617385
\pnum
1738717386
\effects
1738817387
Equivalent to \tcode{flat_multimap(key_cont, mapped_cont)} and
17389-
\tcode{flat_multimap(key_cont, \linebreak{}mapped_cont, comp)}, respectively,
17388+
\tcode{flat_multimap(key_cont, mapped_cont, comp)}, respectively,
1739017389
except that \tcode{c.keys} and \tcode{c.values} are constructed
1739117390
with uses-allocator construction\iref{allocator.uses.construction}.
1739217391

1739317392
\pnum
1739417393
\complexity
1739517394
Same as \tcode{flat_multimap(key_cont, mapped_cont)} and
17396-
\tcode{flat_multimap(key_cont, \linebreak{}mapped_cont, comp)}, respectively.
17395+
\tcode{flat_multimap(key_cont, mapped_cont, comp)}, respectively.
1739717396
\end{itemdescr}
1739817397

1739917398
\indexlibraryctor{flat_multimap}%
@@ -21915,7 +21914,7 @@
2191521914
\item
2191621915
If \exposid{rank_} is greater than one,
2191721916
then the product of
21918-
\tcode{\exposid{LEAST-MULTIPLE-AT-LEAST}(pad, ext.extent(\linebreak 0))} and
21917+
\tcode{\exposid{LEAST-MULTIPLE-AT-LEAST}(pad, ext.extent(0))} and
2191921918
all values \tcode{ext.extent($k$)}
2192021919
with $k$ in the range of \range{1}{\exposid{rank_}}
2192121920
is representable as a value of type \tcode{index_type}.
@@ -21994,7 +21993,7 @@
2199421993
\item
2199521994
If \exposid{rank_} is greater than \tcode{1} and
2199621995
\tcode{padding_value} does not equal \tcode{dynamic_extent},
21997-
then \tcode{other.\linebreak stride(1)} equals
21996+
then \tcode{other.stride(1)} equals
2199821997
\begin{codeblock}
2199921998
@\exposid{LEAST-MULTIPLE-AT-LEAST}@(padding_value,
2200021999
extents_type::@\exposid{index-cast}@(other.extents().extent(0)))
@@ -22061,7 +22060,7 @@
2206122060
\item
2206222061
If \exposid{rank_} is greater than 1 and
2206322062
\tcode{padding_value} does not equal \tcode{dynamic_extent},
22064-
then \tcode{other.\linebreak stride(1)} equals
22063+
then \tcode{other.stride(1)} equals
2206522064
\begin{codeblock}
2206622065
@\exposid{LEAST-MULTIPLE-AT-LEAST}@(padding_value,
2206722066
extents_type::@\exposid{index-cast}@(other.extent(0)))
@@ -22459,7 +22458,7 @@
2245922458
if \exposid{static-padding-stride} is not \tcode{dynamic_extent}.
2246022459
\begin{note}
2246122460
Using \tcode{extents<index_type, \exposid{static-padding-stride}>}
22462-
instead of \tcode{index_type} as the type of \exposid{stride-\linebreak rm2}
22461+
instead of \tcode{index_type} as the type of \exposid{stride-rm2}
2246322462
would achieve this.
2246422463
\end{note}
2246522464
\end{itemdescr}
@@ -22542,13 +22541,13 @@
2254222541
\item
2254322542
If \exposid{rank_} is greater than one,
2254422543
then the product of
22545-
\tcode{\exposid{LEAST-MULTIPLE-AT-LEAST}(pad, ext.extent(\exposid{\linebreak rank_} - 1))} and
22544+
\tcode{\exposid{LEAST-MULTIPLE-AT-LEAST}(pad, ext.extent(\exposid{rank_} - 1))} and
2254622545
all values \tcode{ext.extent($k$)}
2254722546
with $k$ in the range of \range{0}{\exposid{rank_} - 1}
2254822547
is representable as a value of type \tcode{index_type}.
2254922548
\item
2255022549
If \tcode{padding_value} is not equal to \tcode{dynamic_extent},
22551-
\tcode{padding_value} equals \tcode{extents_type::\linebreak \exposid{index-cast}(pad)}.
22550+
\tcode{padding_value} equals \tcode{extents_type::\exposid{index-cast}(pad)}.
2255222551
\end{itemize}
2255322552

2255422553
\pnum
@@ -22621,7 +22620,7 @@
2262122620
\item
2262222621
If \exposid{rank_} is greater than 1 and
2262322622
\tcode{padding_value} does not equal \tcode{dynamic_extent},
22624-
then \tcode{other.\linebreak stride(\exposid{rank_} - 2)} equals
22623+
then \tcode{other.stride(\exposid{rank_} - 2)} equals
2262522624
\begin{codeblock}
2262622625
@\exposid{LEAST-MULTIPLE-AT-LEAST}@(padding_value,
2262722626
extents_type::@\exposid{index-cast}@(other.extents().extent(@\exposid{rank_}@ - 1)))
@@ -22689,7 +22688,7 @@
2268922688
\item
2269022689
If \exposid{rank_} is greater than 1 and
2269122690
\tcode{padding_value} does not equal \tcode{dynamic_extent},
22692-
then \tcode{other.\linebreak stride(\exposid{rank_} - 2)} equals
22691+
then \tcode{other.stride(\exposid{rank_} - 2)} equals
2269322692
\begin{codeblock}
2269422693
@\exposid{LEAST-MULTIPLE-AT-LEAST}@(padding_value,
2269522694
extents_type::@\exposid{index-cast}@(other.extent(@\exposid{rank_}@ - 1)))
@@ -24090,7 +24089,7 @@
2409024089
\item
2409124090
\tcode{stride(k) * \exposid{de-ice}($s_k$.stride)}
2409224091
if $S_k$ is a specialization of \tcode{strided_slice} and
24093-
\tcode{$s_k$.stride < $s_k$.\linebreak extent} is \tcode{true};
24092+
\tcode{$s_k$.stride < $s_k$.extent} is \tcode{true};
2409424093
\item
2409524094
otherwise, \tcode{stride($k$)}.
2409624095
\end{itemize}
@@ -24495,11 +24494,11 @@
2449524494
\begin{itemize}
2449624495
\item
2449724496
\tcode{decltype(submdspan_mapping(src.mapping(), slices...))}
24498-
is a specialization of \tcode{submd-\linebreak{}span_mapping_result}.
24497+
is a specialization of \tcode{submdspan_mapping_result}.
2449924498

2450024499
\item
2450124500
\tcode{is_same_v<remove_cvref_t<decltype(sub_map_offset.mapping.extents())>,}
24502-
\tcode{decltype(\linebreak{}submdspan_extents(src.mapping(), slices...))>}
24501+
\tcode{decltype(submdspan_extents(src.mapping(), slices...))>}
2450324502
is \tcode{true}.
2450424503

2450524504
\item
@@ -24529,11 +24528,11 @@
2452924528
\item
2453024529
$0 \le \tcode{\exposid{first_}<index_type, $k$>(slices...)}$
2453124530
$\le \tcode{\exposid{last_}<$k$>(src.extents(), slices...)}$
24532-
$\le \tcode{\linebreak{}src.extent($k$)}$
24531+
$\le \tcode{src.extent($k$)}$
2453324532
\end{itemize}
2453424533

2453524534
\item
24536-
\tcode{sub_map_offset.mapping.extents() == submdspan_extents(src.mapping(), slices...)}\linebreak
24535+
\tcode{sub_map_offset.mapping.extents() == submdspan_extents(src.mapping(), slices...)}
2453724536
is \tcode{true}; and
2453824537

2453924538
\item

Diff for: source/exec.tex

+9-9
Original file line numberDiff line numberDiff line change
@@ -2801,7 +2801,7 @@
28012801
Let \tcode{out_sndr} and \tcode{env} be subexpressions
28022802
such that \tcode{OutSndr} is \tcode{decltype((out_sndr))}.
28032803
If \tcode{\exposconcept{sender-for}<Out\-Sndr, starts_on_t>} is \tcode{false},
2804-
then the expressions \tcode{starts_on.transform_env(out_sndr, env)} and\linebreak
2804+
then the expressions \tcode{starts_on.transform_env(out_sndr, env)} and
28052805
\tcode{starts_on.transform_sender(out_sndr, env)} are ill-formed; otherwise
28062806
\begin{itemize}
28072807
\item
@@ -3154,7 +3154,7 @@
31543154
\pnum
31553155
Let \tcode{out_sndr} and \tcode{env} be subexpressions,
31563156
let \tcode{OutSndr} be \tcode{decltype((out_sndr))}, and
3157-
let \tcode{Env} be \tcode{decltype((\linebreak env))}.
3157+
let \tcode{Env} be \tcode{decltype((env))}.
31583158
If \tcode{\exposconcept{sender-for}<OutSndr, on_t>} is \tcode{false},
31593159
then the expressions \tcode{on.transform_env(out_sndr, env)} and
31603160
\tcode{on.transform_sender(out_sndr, env)} are ill-formed.
@@ -3316,7 +3316,7 @@
33163316
For subexpressions \tcode{sndr} and \tcode{f},
33173317
if \tcode{decltype((sndr))} does not satisfy \libconcept{sender}, or
33183318
\tcode{decltype((f))} does not satisfy \exposconcept{movable-value},
3319-
\tcode{\exposid{then-cpo}(\linebreak sndr, f) }is ill-formed.
3319+
\tcode{\exposid{then-cpo}(sndr, f) }is ill-formed.
33203320

33213321
\pnum
33223322
Otherwise,
@@ -3485,7 +3485,7 @@
34853485
Let \tcode{LetSigs} be a pack of those types in \tcode{Sigs}
34863486
with a return type of \tcode{\exposid{decayed-typeof}<\exposid{set-cpo}>}.
34873487
Let \exposid{as-tuple} be an alias template
3488-
such that \tcode{\exposid{as-tuple}<\linebreak Tag(Args...)>} denotes
3488+
such that \tcode{\exposid{as-tuple}<Tag(Args...)>} denotes
34893489
the type \tcode{\exposid{decayed-tuple}<Args...>}.
34903490
Then \tcode{args_variant_t} denotes
34913491
the type \tcode{variant<monostate, \exposid{as-tuple}<LetSigs>...>}
@@ -3540,7 +3540,7 @@
35403540
Let \tcode{sndr} and \tcode{env} be subexpressions, and
35413541
let \tcode{Sndr} be \tcode{decltype((sndr))}.
35423542
If
3543-
\tcode{\exposconcept{sender-for}<Sndr, \exposid{decayed-\linebreak typeof}<\exposid{let-cpo}>>}
3543+
\tcode{\exposconcept{sender-for}<Sndr, \exposid{decayed-typeof}<\exposid{let-cpo}>>}
35443544
is \tcode{false},
35453545
then the expression \tcode{\exposid{let-cpo}.transform_env(sndr, env)}
35463546
is ill-formed.
@@ -4287,7 +4287,7 @@
42874287
\end{codeblock}
42884288
if the expression \tcode{\exposid{decayed-tuple}<decltype(as)...>\{as...\}}
42894289
is potentially throwing;
4290-
otherwise, \tcode{o.emplace(\linebreak as...)}.
4290+
otherwise, \tcode{o.emplace(as...)}.
42914291

42924292
\pnum
42934293
The expression \tcode{when_all_with_variant(sndrs...)}
@@ -4600,7 +4600,7 @@
46004600

46014601
\pnum
46024602
For a subexpression \tcode{sndr}, let \tcode{Sndr} be \tcode{decltype((sndr))}.
4603-
If \tcode{\libconcept{sender_to}<Sndr, \exposid{sync-wait-receiver}<\linebreak Sndr>>}
4603+
If \tcode{\libconcept{sender_to}<Sndr, \exposid{sync-wait-receiver}<Sndr>>}
46044604
is \tcode{false},
46054605
the expression \tcode{sync_wait.apply_sender(sndr)} is ill-formed;
46064606
otherwise, it is equivalent to:
@@ -4671,7 +4671,7 @@
46714671

46724672
\pnum
46734673
If \tcode{\exposconcept{callable}<sync_wait_t, Sndr>} is \tcode{false},
4674-
the expression \tcode{sync_wait_with_variant.apply_sender(\linebreak sndr)} is ill-formed.
4674+
the expression \tcode{sync_wait_with_variant.apply_sender(sndr)} is ill-formed.
46754675
Otherwise, it is equivalent to:
46764676
\begin{codeblock}
46774677
using result_type = @\exposid{sync-wait-with-variant-result-type}@<Sndr>;
@@ -4914,7 +4914,7 @@
49144914
Let \tcode{Es} be a pack of the types in the \exposid{type-list} named by
49154915
\tcode{\exposid{gather-signatures}<set_error_t, InputSigna\-tures, type_identity_t, \exposid{error-list}>},
49164916
where \exposid{error-list} is an alias template
4917-
such that \tcode{\exposid{error-list}<\linebreak Ts...>} is
4917+
such that \tcode{\exposid{error-list}<Ts...>} is
49184918
\tcode{\exposid{type-list}<SetError<Ts>...>}.
49194919

49204920
\pnum

Diff for: source/memory.tex

+3-3
Original file line numberDiff line numberDiff line change
@@ -1075,7 +1075,7 @@
10751075
\begin{itemize}
10761076
\item
10771077
If \tcode{uses_allocator_v<remove_cv_t<T>, Alloc>} is \tcode{false} and
1078-
\tcode{is_constructible_v<T,\linebreak Args...>} is \tcode{true},
1078+
\tcode{is_constructible_v<T, Args...>} is \tcode{true},
10791079
return \tcode{forward_as_tuple(std::forward<Args>(args)...)}.
10801080
\item
10811081
Otherwise, if \tcode{uses_allocator_v<remove_cv_t<T>, Alloc>} is \tcode{true} and
@@ -3996,7 +3996,7 @@
39963996
such that its \tcode{value_type} is \tcode{remove_cv_t<U>}.
39973997
\item
39983998
When a (sub)object of non-array type \tcode{U} is initialized by
3999-
\tcode{make_shared_for_overwrite} or\linebreak % avoid Overfull
3999+
\tcode{make_shared_for_overwrite} or
40004000
\tcode{allocate_shared_for_overwrite},
40014001
it is initialized via the expression \tcode{::new(pv) U},
40024002
where \tcode{pv} has type \tcode{void*} and
@@ -5229,7 +5229,7 @@
52295229
\end{codeblock}
52305230
if the expression
52315231
\tcode{s.reset(static_cast<SP>(p), std::forward<Args>(args)...)}
5232-
is well-\linebreak formed;
5232+
is well-formed;
52335233
\item
52345234
otherwise,
52355235
\begin{codeblock}

Diff for: source/meta.tex

+1-1
Original file line numberDiff line numberDiff line change
@@ -2154,7 +2154,7 @@
21542154
\item Let \tcode{R} be \tcode{\placeholdernc{COMMON-REF}(T1, T2)}.
21552155
If \tcode{T1} and \tcode{T2} are reference types,
21562156
\tcode{R} is well-formed, and
2157-
\tcode{is_convertible_v<add_pointer_t<T1>, add_pointer_t<R>> \&\& is_convertible_v<add_poin\linebreak{}ter_t<T2>, add_pointer_t<R>>} is \tcode{true},
2157+
\tcode{is_convertible_v<add_pointer_t<T1>, add_pointer_t<R>> \&\& is_convertible_v<add_pointer_t<T2>, add_pointer_t<R>>} is \tcode{true},
21582158
then the member typedef \tcode{type} denotes \tcode{R}.
21592159

21602160
\item Otherwise, if

Diff for: source/numerics.tex

+2-2
Original file line numberDiff line numberDiff line change
@@ -13688,7 +13688,7 @@
1368813688
\mandates
1368913689
Let \tcode{a} be
1369013690
\tcode{\exposid{abs-if-needed}(declval<typename InVec::value_type>())}.
13691-
Then, \tcode{decltype(\linebreak init + a * a} is convertible to \tcode{Scalar}.
13691+
Then, \tcode{decltype(init + a * a} is convertible to \tcode{Scalar}.
1369213692

1369313693
\pnum
1369413694
\returns
@@ -13894,7 +13894,7 @@
1389413894
\mandates
1389513895
Let \tcode{a} be
1389613896
\tcode{\exposid{abs-if-needed}(declval<typename InMat::value_type>())}.
13897-
Then, \tcode{decltype(\linebreak init + a * a)}
13897+
Then, \tcode{decltype(init + a * a)}
1389813898
is convertible to \tcode{Scalar}.
1389913899

1390013900
\pnum

0 commit comments

Comments
 (0)