Skip to content

Commit 5df362b

Browse files
committed
Remove awkward \linebreaks.
1 parent a478894 commit 5df362b

File tree

9 files changed

+67
-68
lines changed

9 files changed

+67
-68
lines changed

source/algorithms.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7070,7 +7070,7 @@
70707070
\tcode{invoke(op, invoke(proj, *(first1 + (i - result))))}
70717071
for unary transforms defined in namespace \tcode{ranges};
70727072
\item
7073-
\tcode{invoke(binary_op, invoke(proj1, *(first1 + (i - result))), invoke(proj2,\linebreak *(first2 + (i - result))))}
7073+
\tcode{invoke(binary_op, invoke(proj1, *(first1 + (i - result))), invoke(proj2, *(first2 + (i - result))))}
70747074
for binary transforms defined in namespace \tcode{ranges}.
70757075
\end{itemize}
70767076
\end{itemize}
@@ -14191,7 +14191,7 @@
1419114191
\pnum
1419214192
\constraints
1419314193
\tcode{is_unbounded_array_v<T>} is \tcode{false}.
14194-
The expression \tcode{::new (declval<void*>()) T(\linebreak{}declval<Args>()...)}
14194+
The expression \tcode{::new (declval<void*>()) T(declval<Args>()...)}
1419514195
is well-formed when treated as an unevaluated operand\iref{term.unevaluated.operand}.
1419614196

1419714197
\pnum

source/containers.tex

Lines changed: 26 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1456,7 +1456,7 @@
14561456
\pnum
14571457
\recommended
14581458
If \tcode{R} models \tcode{ranges::\libconcept{approximately_sized_range}} and
1459-
\tcode{ranges::distance(\linebreak{}rg) <= ranges::reserve_hint(rg)} is \tcode{true},
1459+
\tcode{ranges::distance(rg) <= ranges::reserve_hint(rg)} is \tcode{true},
14601460
an implementation should not perform more than a single reallocation.
14611461

14621462
\pnum
@@ -1828,7 +1828,7 @@
18281828
\pnum
18291829
\recommended
18301830
If \tcode{R} models \tcode{ranges::\libconcept{approximately_sized_range}} and
1831-
\tcode{ranges::distance(\linebreak{}rg) <= ranges::reserve_hint(rg)} is \tcode{true},
1831+
\tcode{ranges::distance(rg) <= ranges::reserve_hint(rg)} is \tcode{true},
18321832
an implementation should not perform any reallocation.
18331833
\end{itemdescr}
18341834

@@ -2444,8 +2444,7 @@
24442444
Assigns \tcode{nh.ptr_} to \tcode{ptr_}.
24452445
\item
24462446
If \tcode{!alloc\textunderscore} or \tcode{ator_traits::propagate_on_container_move_assignment::value}
2447-
is \tcode{true}, \linebreak
2448-
move assigns \tcode{nh.alloc_} to \tcode{alloc_}.
2447+
is \tcode{true}, move assigns \tcode{nh.alloc_} to \tcode{alloc_}.
24492448
\item
24502449
Assigns
24512450
\keyword{nullptr} to \tcode{nh.ptr_} and assigns \tcode{nullopt} to
@@ -7468,14 +7467,14 @@
74687467
\pnum
74697468
\expects
74707469
\tcode{T} is \oldconcept{EmplaceConstructible} into \tcode{forward_list}
7471-
from \tcode{std::forward<Args>(\linebreak args)...}.
7470+
from \tcode{std::forward<Args>(args)...}.
74727471
\tcode{position} is \tcode{before_begin()} or is a dereferenceable
74737472
iterator in the range \range{begin()}{end()}.
74747473

74757474
\pnum
74767475
\effects
74777476
Inserts an object of type \tcode{value_type} direct-non-list-initialized with
7478-
\tcode{std::forward<Args>(\linebreak args)...} after \tcode{position}.
7477+
\tcode{std::forward<Args>(args)...} after \tcode{position}.
74797478

74807479
\pnum
74817480
\returns
@@ -10634,7 +10633,7 @@
1063410633
\pnum
1063510634
The expression
1063610635
\tcode{\exposid{is-vector-bool-reference}<T>} is \tcode{true}
10637-
if \tcode{T} denotes the type \tcode{vector<bool, Alloc>::\linebreak{}reference}
10636+
if \tcode{T} denotes the type \tcode{vector<bool, Alloc>::reference}
1063810637
for some type \tcode{Alloc} and
1063910638
\tcode{vector<bool, Alloc>} is not a program-defined specialization.
1064010639
\end{itemdescr}
@@ -12025,7 +12024,7 @@
1202512024
Otherwise, let \tcode{r} be \tcode{equal_range(k)}.
1202612025
Constructs an object \tcode{u} of type \tcode{value_type} with
1202712026
\tcode{piecewise_construct, forward_as_tuple(std::forward<K>(k)),
12028-
forward_as_tuple(std::forward<Args>(args)...)}.\linebreak
12027+
forward_as_tuple(std::forward<Args>(args)...)}.
1202912028
If \tcode{equal_range(u.first) == r} is \tcode{false},
1203012029
the behavior is undefined.
1203112030
Inserts \tcode{u} into \tcode{*this}.
@@ -17511,7 +17510,7 @@
1751117510
\pnum
1751217511
\effects
1751317512
Equivalent to \tcode{flat_map(sorted_unique, key_cont, mapped_cont)} and
17514-
\tcode{flat_map(sorted_unique, key_cont, \linebreak{}mapped_cont, comp)}, respectively,
17513+
\tcode{flat_map(sorted_unique, key_cont, mapped_cont, comp)}, respectively,
1751517514
except that \tcode{\exposid{c}.keys} and \tcode{\exposid{c}.values} are constructed
1751617515
with uses-allocator construction\iref{allocator.uses.construction}.
1751717516

@@ -17695,7 +17694,7 @@
1769517694
\pnum
1769617695
\effects
1769717696
Initializes an object \tcode{t} of type \tcode{pair<key_type, mapped_type>}
17698-
with \tcode{std::forward<Args>(\linebreak args)...};
17697+
with \tcode{std::forward<Args>(args)...};
1769917698
if the map already contains an element
1770017699
whose key is equivalent to \tcode{t.first},
1770117700
\tcode{*this} is unchanged.
@@ -17951,7 +17950,7 @@
1795117950
\effects
1795217951
If the map already contains an element \tcode{e}
1795317952
whose key is equivalent to \tcode{k},
17954-
assigns \tcode{std::forward<\linebreak M>(obj)} to \tcode{e.second}.
17953+
assigns \tcode{std::forward<M>(obj)} to \tcode{e.second}.
1795517954
Otherwise, equivalent to
1795617955
\begin{codeblock}
1795717956
try_emplace(std::forward<decltype(k)>(k), std::forward<M>(obj))
@@ -18006,7 +18005,7 @@
1800618005
\effects
1800718006
If the map already contains an element \tcode{e}
1800818007
whose key is equivalent to \tcode{k},
18009-
assigns \tcode{std::forward<\linebreak M>(obj)} to \tcode{e.second}.
18008+
assigns \tcode{std::forward<M>(obj)} to \tcode{e.second}.
1801018009
Otherwise, equivalent to
1801118010
\begin{codeblock}
1801218011
try_emplace(std::forward<K>(k), std::forward<M>(obj))
@@ -18620,14 +18619,14 @@
1862018619
\pnum
1862118620
\effects
1862218621
Equivalent to \tcode{flat_multimap(key_cont, mapped_cont)} and
18623-
\tcode{flat_multimap(key_cont, \linebreak{}mapped_cont, comp)}, respectively,
18622+
\tcode{flat_multimap(key_cont, mapped_cont, comp)}, respectively,
1862418623
except that \tcode{\exposid{c}.keys} and \tcode{\exposid{c}.values} are constructed
1862518624
with uses-allocator construction\iref{allocator.uses.construction}.
1862618625

1862718626
\pnum
1862818627
\complexity
1862918628
Same as \tcode{flat_multimap(key_cont, mapped_cont)} and
18630-
\tcode{flat_multimap(key_cont, \linebreak{}mapped_cont, comp)}, respectively.
18629+
\tcode{flat_multimap(key_cont, mapped_cont, comp)}, respectively.
1863118630
\end{itemdescr}
1863218631

1863318632
\indexlibraryctor{flat_multimap}%
@@ -23188,7 +23187,7 @@
2318823187
\item
2318923188
If \exposid{rank_} is greater than one,
2319023189
then the product of
23191-
\tcode{\exposid{LEAST-MULTIPLE-AT-LEAST}(pad, ext.extent(\linebreak 0))} and
23190+
\tcode{\exposid{LEAST-MULTIPLE-AT-LEAST}(pad, ext.extent(0))} and
2319223191
all values \tcode{ext.extent($k$)}
2319323192
with $k$ in the range of \range{1}{\exposid{rank_}}
2319423193
is representable as a value of type \tcode{index_type}.
@@ -23267,7 +23266,7 @@
2326723266
\item
2326823267
If \exposid{rank_} is greater than \tcode{1} and
2326923268
\tcode{padding_value} does not equal \tcode{dynamic_extent},
23270-
then \tcode{other.\linebreak stride(1)} equals
23269+
then \tcode{other.stride(1)} equals
2327123270
\begin{codeblock}
2327223271
@\exposid{LEAST-MULTIPLE-AT-LEAST}@(padding_value,
2327323272
extents_type::@\exposid{index-cast}@(other.extents().extent(0)))
@@ -23335,7 +23334,7 @@
2333523334
\item
2333623335
If \exposid{rank_} is greater than 1 and
2333723336
\tcode{padding_value} does not equal \tcode{dynamic_extent},
23338-
then \tcode{other.\linebreak stride(1)} equals
23337+
then \tcode{other.stride(1)} equals
2333923338
\begin{codeblock}
2334023339
@\exposid{LEAST-MULTIPLE-AT-LEAST}@(padding_value,
2334123340
extents_type::@\exposid{index-cast}@(other.extent(0)))
@@ -23733,7 +23732,7 @@
2373323732
if \exposid{static-padding-stride} is not \tcode{dynamic_extent}.
2373423733
\begin{note}
2373523734
Using \tcode{extents<index_type, \exposid{static-padding-stride}>}
23736-
instead of \tcode{index_type} as the type of \exposid{stride-\linebreak rm2}
23735+
instead of \tcode{index_type} as the type of \exposid{stride-rm2}
2373723736
would achieve this.
2373823737
\end{note}
2373923738
\end{itemdescr}
@@ -23816,13 +23815,13 @@
2381623815
\item
2381723816
If \exposid{rank_} is greater than one,
2381823817
then the product of
23819-
\tcode{\exposid{LEAST-MULTIPLE-AT-LEAST}(pad, ext.extent(\exposid{\linebreak rank_} - 1))} and
23818+
\tcode{\exposid{LEAST-MULTIPLE-AT-LEAST}(pad, ext.extent(\exposid{rank_} - 1))} and
2382023819
all values \tcode{ext.extent($k$)}
2382123820
with $k$ in the range of \range{0}{\exposid{rank_} - 1}
2382223821
is representable as a value of type \tcode{index_type}.
2382323822
\item
2382423823
If \tcode{padding_value} is not equal to \tcode{dynamic_extent},
23825-
\tcode{padding_value} equals \tcode{extents_type::\linebreak \exposid{index-cast}(pad)}.
23824+
\tcode{padding_value} equals \tcode{extents_type::\exposid{index-cast}(pad)}.
2382623825
\end{itemize}
2382723826

2382823827
\pnum
@@ -23895,7 +23894,7 @@
2389523894
\item
2389623895
If \exposid{rank_} is greater than 1 and
2389723896
\tcode{padding_value} does not equal \tcode{dynamic_extent},
23898-
then \tcode{other.\linebreak stride(\exposid{rank_} - 2)} equals
23897+
then \tcode{other.stride(\exposid{rank_} - 2)} equals
2389923898
\begin{codeblock}
2390023899
@\exposid{LEAST-MULTIPLE-AT-LEAST}@(padding_value,
2390123900
extents_type::@\exposid{index-cast}@(other.extents().extent(@\exposid{rank_}@ - 1)))
@@ -23963,7 +23962,7 @@
2396323962
\item
2396423963
If \exposid{rank_} is greater than 1 and
2396523964
\tcode{padding_value} does not equal \tcode{dynamic_extent},
23966-
then \tcode{other.\linebreak stride(\exposid{rank_} - 2)} equals
23965+
then \tcode{other.stride(\exposid{rank_} - 2)} equals
2396723966
\begin{codeblock}
2396823967
@\exposid{LEAST-MULTIPLE-AT-LEAST}@(padding_value,
2396923968
extents_type::@\exposid{index-cast}@(other.extent(@\exposid{rank_}@ - 1)))
@@ -25622,7 +25621,7 @@
2562225621
\item
2562325622
\tcode{stride(k) * \exposid{de-ice}($s_k$.stride)}
2562425623
if $S_k$ is a specialization of \tcode{strided_slice} and
25625-
\tcode{$s_k$.stride < $s_k$.\linebreak extent} is \tcode{true};
25624+
\tcode{$s_k$.stride < $s_k$.extent} is \tcode{true};
2562625625
\item
2562725626
otherwise, \tcode{stride($k$)}.
2562825627
\end{itemize}
@@ -26020,11 +26019,11 @@
2602026019
\begin{itemize}
2602126020
\item
2602226021
\tcode{decltype(submdspan_mapping(src.mapping(), slices...))}
26023-
is a specialization of \tcode{submd-\linebreak{}span_mapping_result}.
26022+
is a specialization of \tcode{submdspan_mapping_result}.
2602426023

2602526024
\item
2602626025
\tcode{is_same_v<remove_cvref_t<decltype(sub_map_offset.mapping.extents())>,}
26027-
\tcode{decltype(\linebreak{}submdspan_extents(src.mapping(), slices...))>}
26026+
\tcode{decltype(submdspan_extents(src.mapping(), slices...))>}
2602826027
is \tcode{true}.
2602926028

2603026029
\item
@@ -26054,11 +26053,11 @@
2605426053
\item
2605526054
$0 \le \tcode{\exposid{first_}<index_type, $k$>(slices...)}$
2605626055
$\le \tcode{\exposid{last_}<$k$>(src.extents(), slices...)}$
26057-
$\le \tcode{\linebreak{}src.extent($k$)}$
26056+
$\le \tcode{src.extent($k$)}$
2605826057
\end{itemize}
2605926058

2606026059
\item
26061-
\tcode{sub_map_offset.mapping.extents() == submdspan_extents(src.mapping(), slices...)}\linebreak
26060+
\tcode{sub_map_offset.mapping.extents() == submdspan_extents(src.mapping(), slices...)}
2606226061
is \tcode{true}; and
2606326062

2606426063
\item

source/exec.tex

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3244,7 +3244,7 @@
32443244
Let \tcode{out_sndr} and \tcode{env} be subexpressions
32453245
such that \tcode{OutSndr} is \tcode{decltype((out_sndr))}.
32463246
If \tcode{\exposconcept{sender-for}<Out\-Sndr, starts_on_t>} is \tcode{false},
3247-
then the expressions \tcode{starts_on.transform_env(out_sndr, env)} and\linebreak
3247+
then the expressions \tcode{starts_on.transform_env(out_sndr, env)} and
32483248
\tcode{starts_on.transform_sender(out_sndr, env)} are ill-formed; otherwise
32493249
\begin{itemize}
32503250
\item
@@ -3624,7 +3624,7 @@
36243624
\pnum
36253625
Let \tcode{out_sndr} and \tcode{env} be subexpressions,
36263626
let \tcode{OutSndr} be \tcode{decltype((out_sndr))}, and
3627-
let \tcode{Env} be \tcode{decltype((\linebreak env))}.
3627+
let \tcode{Env} be \tcode{decltype((env))}.
36283628
If \tcode{\exposconcept{sender-for}<OutSndr, on_t>} is \tcode{false},
36293629
then the expressions \tcode{on.transform_env(out_sndr, env)} and
36303630
\tcode{on.transform_sender(out_sndr, env)} are ill-formed.
@@ -3766,7 +3766,7 @@
37663766
For subexpressions \tcode{sndr} and \tcode{f},
37673767
if \tcode{decltype((sndr))} does not satisfy \libconcept{sender}, or
37683768
\tcode{decltype((f))} does not satisfy \exposconcept{movable-value},
3769-
\tcode{\exposid{then-cpo}(\linebreak sndr, f) }is ill-formed.
3769+
\tcode{\exposid{then-cpo}(sndr, f) }is ill-formed.
37703770

37713771
\pnum
37723772
Otherwise,
@@ -4071,7 +4071,7 @@
40714071
Let \tcode{sndr} and \tcode{env} be subexpressions, and
40724072
let \tcode{Sndr} be \tcode{decltype((sndr))}.
40734073
If
4074-
\tcode{\exposconcept{sender-for}<Sndr, \exposid{decayed-\linebreak typeof}<\exposid{let-cpo}>>}
4074+
\tcode{\exposconcept{sender-for}<Sndr, \exposid{decayed-typeof}<\exposid{let-cpo}>>}
40754075
is \tcode{false},
40764076
then the expression \tcode{\exposid{let-cpo}.transform_env(sndr, env)}
40774077
is ill-formed.
@@ -4686,7 +4686,7 @@
46864686
\end{codeblock}
46874687
if the expression \tcode{\exposid{decayed-tuple}<decltype(as)...>\{as...\}}
46884688
is potentially throwing;
4689-
otherwise, \tcode{o.emplace(\linebreak as...)}.
4689+
otherwise, \tcode{o.emplace(as...)}.
46904690

46914691
\pnum
46924692
The expression \tcode{when_all_with_variant(sndrs...)}
@@ -5729,7 +5729,7 @@
57295729

57305730
\pnum
57315731
For a subexpression \tcode{sndr}, let \tcode{Sndr} be \tcode{decltype((sndr))}.
5732-
If \tcode{\libconcept{sender_to}<Sndr, \exposid{sync-wait-receiver}<\linebreak Sndr>>}
5732+
If \tcode{\libconcept{sender_to}<Sndr, \exposid{sync-wait-receiver}<Sndr>>}
57335733
is \tcode{false},
57345734
the expression \tcode{sync_wait.apply_sender(sndr)} is ill-formed;
57355735
otherwise, it is equivalent to:

source/memory.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1371,7 +1371,7 @@
13711371
\begin{itemize}
13721372
\item
13731373
If \tcode{uses_allocator_v<remove_cv_t<T>, Alloc>} is \tcode{false} and
1374-
\tcode{is_constructible_v<T,\linebreak Args...>} is \tcode{true},
1374+
\tcode{is_constructible_v<T, Args...>} is \tcode{true},
13751375
return \tcode{forward_as_tuple(std::forward<Args>(args)...)}.
13761376
\item
13771377
Otherwise, if \tcode{uses_allocator_v<remove_cv_t<T>, Alloc>} is \tcode{true} and
@@ -4332,7 +4332,7 @@
43324332
the allocator \tcode{a} passed to \tcode{allocate_shared}.
43334333
\item
43344334
When a (sub)object of non-array type \tcode{U} is initialized by
4335-
\tcode{make_shared_for_overwrite} or\linebreak % avoid Overfull
4335+
\tcode{make_shared_for_overwrite} or
43364336
\tcode{allocate_shared_for_overwrite},
43374337
it is initialized via the expression \tcode{::new(pv) U},
43384338
where \tcode{pv} has type \tcode{void*} and
@@ -5567,7 +5567,7 @@
55675567
\end{codeblock}
55685568
if the expression
55695569
\tcode{s.reset(static_cast<SP>(p), std::forward<Args>(args)...)}
5570-
is well-\linebreak formed;
5570+
is well-formed;
55715571
\item
55725572
otherwise,
55735573
\begin{codeblock}

source/meta.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2534,7 +2534,7 @@
25342534
\item Let \tcode{R} be \tcode{\placeholdernc{COMMON-REF}(T1, T2)}.
25352535
If \tcode{T1} and \tcode{T2} are reference types,
25362536
\tcode{R} is well-formed, and
2537-
\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},
2537+
\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},
25382538
then the member typedef \tcode{type} denotes \tcode{R}.
25392539

25402540
\item Otherwise, if

source/numerics.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13793,7 +13793,7 @@
1379313793
\mandates
1379413794
Let \tcode{a} be
1379513795
\tcode{\exposid{abs-if-needed}(declval<typename InVec::value_type>())}.
13796-
Then, \tcode{decltype(\linebreak init + a * a} is convertible to \tcode{Scalar}.
13796+
Then, \tcode{decltype(init + a * a} is convertible to \tcode{Scalar}.
1379713797

1379813798
\pnum
1379913799
\returns
@@ -13999,7 +13999,7 @@
1399913999
\mandates
1400014000
Let \tcode{a} be
1400114001
\tcode{\exposid{abs-if-needed}(declval<typename InMat::value_type>())}.
14002-
Then, \tcode{decltype(\linebreak init + a * a)}
14002+
Then, \tcode{decltype(init + a * a)}
1400314003
is convertible to \tcode{Scalar}.
1400414004

1400514005
\pnum

0 commit comments

Comments
 (0)