Skip to content

Commit 7476e5e

Browse files
committed
Remove awkward \linebreaks.
1 parent 05dc44d commit 7476e5e

File tree

9 files changed

+68
-69
lines changed

9 files changed

+68
-69
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}.
@@ -17512,7 +17511,7 @@
1751217511
\pnum
1751317512
\effects
1751417513
Equivalent to \tcode{flat_map(sorted_unique, key_cont, mapped_cont)} and
17515-
\tcode{flat_map(sorted_unique, key_cont, \linebreak{}mapped_cont, comp)}, respectively,
17514+
\tcode{flat_map(sorted_unique, key_cont, mapped_cont, comp)}, respectively,
1751617515
except that \tcode{\exposid{c}.keys} and \tcode{\exposid{c}.values} are constructed
1751717516
with uses-allocator construction\iref{allocator.uses.construction}.
1751817517

@@ -17696,7 +17695,7 @@
1769617695
\pnum
1769717696
\effects
1769817697
Initializes an object \tcode{t} of type \tcode{pair<key_type, mapped_type>}
17699-
with \tcode{std::forward<Args>(\linebreak args)...};
17698+
with \tcode{std::forward<Args>(args)...};
1770017699
if the map already contains an element
1770117700
whose key is equivalent to \tcode{t.first},
1770217701
\tcode{*this} is unchanged.
@@ -17952,7 +17951,7 @@
1795217951
\effects
1795317952
If the map already contains an element \tcode{e}
1795417953
whose key is equivalent to \tcode{k},
17955-
assigns \tcode{std::forward<\linebreak M>(obj)} to \tcode{e.second}.
17954+
assigns \tcode{std::forward<M>(obj)} to \tcode{e.second}.
1795617955
Otherwise, equivalent to
1795717956
\begin{codeblock}
1795817957
try_emplace(std::forward<decltype(k)>(k), std::forward<M>(obj))
@@ -18007,7 +18006,7 @@
1800718006
\effects
1800818007
If the map already contains an element \tcode{e}
1800918008
whose key is equivalent to \tcode{k},
18010-
assigns \tcode{std::forward<\linebreak M>(obj)} to \tcode{e.second}.
18009+
assigns \tcode{std::forward<M>(obj)} to \tcode{e.second}.
1801118010
Otherwise, equivalent to
1801218011
\begin{codeblock}
1801318012
try_emplace(std::forward<K>(k), std::forward<M>(obj))
@@ -18621,14 +18620,14 @@
1862118620
\pnum
1862218621
\effects
1862318622
Equivalent to \tcode{flat_multimap(key_cont, mapped_cont)} and
18624-
\tcode{flat_multimap(key_cont, \linebreak{}mapped_cont, comp)}, respectively,
18623+
\tcode{flat_multimap(key_cont, mapped_cont, comp)}, respectively,
1862518624
except that \tcode{\exposid{c}.keys} and \tcode{\exposid{c}.values} are constructed
1862618625
with uses-allocator construction\iref{allocator.uses.construction}.
1862718626

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

1863418633
\indexlibraryctor{flat_multimap}%
@@ -23189,7 +23188,7 @@
2318923188
\item
2319023189
If \exposid{rank_} is greater than one,
2319123190
then the product of
23192-
\tcode{\exposid{LEAST-MULTIPLE-AT-LEAST}(pad, ext.extent(\linebreak 0))} and
23191+
\tcode{\exposid{LEAST-MULTIPLE-AT-LEAST}(pad, ext.extent(0))} and
2319323192
all values \tcode{ext.extent($k$)}
2319423193
with $k$ in the range of \range{1}{\exposid{rank_}}
2319523194
is representable as a value of type \tcode{index_type}.
@@ -23268,7 +23267,7 @@
2326823267
\item
2326923268
If \exposid{rank_} is greater than \tcode{1} and
2327023269
\tcode{padding_value} does not equal \tcode{dynamic_extent},
23271-
then \tcode{other.\linebreak stride(1)} equals
23270+
then \tcode{other.stride(1)} equals
2327223271
\begin{codeblock}
2327323272
@\exposid{LEAST-MULTIPLE-AT-LEAST}@(padding_value,
2327423273
extents_type::@\exposid{index-cast}@(other.extents().extent(0)))
@@ -23336,7 +23335,7 @@
2333623335
\item
2333723336
If \exposid{rank_} is greater than 1 and
2333823337
\tcode{padding_value} does not equal \tcode{dynamic_extent},
23339-
then \tcode{other.\linebreak stride(1)} equals
23338+
then \tcode{other.stride(1)} equals
2334023339
\begin{codeblock}
2334123340
@\exposid{LEAST-MULTIPLE-AT-LEAST}@(padding_value,
2334223341
extents_type::@\exposid{index-cast}@(other.extent(0)))
@@ -23734,7 +23733,7 @@
2373423733
if \exposid{static-padding-stride} is not \tcode{dynamic_extent}.
2373523734
\begin{note}
2373623735
Using \tcode{extents<index_type, \exposid{static-padding-stride}>}
23737-
instead of \tcode{index_type} as the type of \exposid{stride-\linebreak rm2}
23736+
instead of \tcode{index_type} as the type of \exposid{stride-rm2}
2373823737
would achieve this.
2373923738
\end{note}
2374023739
\end{itemdescr}
@@ -23817,13 +23816,13 @@
2381723816
\item
2381823817
If \exposid{rank_} is greater than one,
2381923818
then the product of
23820-
\tcode{\exposid{LEAST-MULTIPLE-AT-LEAST}(pad, ext.extent(\exposid{\linebreak rank_} - 1))} and
23819+
\tcode{\exposid{LEAST-MULTIPLE-AT-LEAST}(pad, ext.extent(\exposid{rank_} - 1))} and
2382123820
all values \tcode{ext.extent($k$)}
2382223821
with $k$ in the range of \range{0}{\exposid{rank_} - 1}
2382323822
is representable as a value of type \tcode{index_type}.
2382423823
\item
2382523824
If \tcode{padding_value} is not equal to \tcode{dynamic_extent},
23826-
\tcode{padding_value} equals \tcode{extents_type::\linebreak \exposid{index-cast}(pad)}.
23825+
\tcode{padding_value} equals \tcode{extents_type::\exposid{index-cast}(pad)}.
2382723826
\end{itemize}
2382823827

2382923828
\pnum
@@ -23896,7 +23895,7 @@
2389623895
\item
2389723896
If \exposid{rank_} is greater than 1 and
2389823897
\tcode{padding_value} does not equal \tcode{dynamic_extent},
23899-
then \tcode{other.\linebreak stride(\exposid{rank_} - 2)} equals
23898+
then \tcode{other.stride(\exposid{rank_} - 2)} equals
2390023899
\begin{codeblock}
2390123900
@\exposid{LEAST-MULTIPLE-AT-LEAST}@(padding_value,
2390223901
extents_type::@\exposid{index-cast}@(other.extents().extent(@\exposid{rank_}@ - 1)))
@@ -23964,7 +23963,7 @@
2396423963
\item
2396523964
If \exposid{rank_} is greater than 1 and
2396623965
\tcode{padding_value} does not equal \tcode{dynamic_extent},
23967-
then \tcode{other.\linebreak stride(\exposid{rank_} - 2)} equals
23966+
then \tcode{other.stride(\exposid{rank_} - 2)} equals
2396823967
\begin{codeblock}
2396923968
@\exposid{LEAST-MULTIPLE-AT-LEAST}@(padding_value,
2397023969
extents_type::@\exposid{index-cast}@(other.extent(@\exposid{rank_}@ - 1)))
@@ -25623,7 +25622,7 @@
2562325622
\item
2562425623
\tcode{stride(k) * \exposid{de-ice}($s_k$.stride)}
2562525624
if $S_k$ is a specialization of \tcode{strided_slice} and
25626-
\tcode{$s_k$.stride < $s_k$.\linebreak extent} is \tcode{true};
25625+
\tcode{$s_k$.stride < $s_k$.extent} is \tcode{true};
2562725626
\item
2562825627
otherwise, \tcode{stride($k$)}.
2562925628
\end{itemize}
@@ -26021,11 +26020,11 @@
2602126020
\begin{itemize}
2602226021
\item
2602326022
\tcode{decltype(submdspan_mapping(src.mapping(), slices...))}
26024-
is a specialization of \tcode{submd-\linebreak{}span_mapping_result}.
26023+
is a specialization of \tcode{submdspan_mapping_result}.
2602526024

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

2603126030
\item
@@ -26055,11 +26054,11 @@
2605526054
\item
2605626055
$0 \le \tcode{\exposid{first_}<index_type, $k$>(slices...)}$
2605726056
$\le \tcode{\exposid{last_}<$k$>(src.extents(), slices...)}$
26058-
$\le \tcode{\linebreak{}src.extent($k$)}$
26057+
$\le \tcode{src.extent($k$)}$
2605926058
\end{itemize}
2606026059

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

2606526064
\item

source/exec.tex

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3248,7 +3248,7 @@
32483248
Let \tcode{out_sndr} and \tcode{env} be subexpressions
32493249
such that \tcode{OutSndr} is \tcode{decltype((out_sndr))}.
32503250
If \tcode{\exposconcept{sender-for}<Out\-Sndr, starts_on_t>} is \tcode{false},
3251-
then the expressions \tcode{starts_on.transform_env(out_sndr, env)} and\linebreak
3251+
then the expressions \tcode{starts_on.transform_env(out_sndr, env)} and
32523252
\tcode{starts_on.transform_sender(out_sndr, env)} are ill-formed; otherwise
32533253
\begin{itemize}
32543254
\item
@@ -3628,7 +3628,7 @@
36283628
\pnum
36293629
Let \tcode{out_sndr} and \tcode{env} be subexpressions,
36303630
let \tcode{OutSndr} be \tcode{decltype((out_sndr))}, and
3631-
let \tcode{Env} be \tcode{decltype((\linebreak env))}.
3631+
let \tcode{Env} be \tcode{decltype((env))}.
36323632
If \tcode{\exposconcept{sender-for}<OutSndr, on_t>} is \tcode{false},
36333633
then the expressions \tcode{on.transform_env(out_sndr, env)} and
36343634
\tcode{on.transform_sender(out_sndr, env)} are ill-formed.
@@ -3770,7 +3770,7 @@
37703770
For subexpressions \tcode{sndr} and \tcode{f},
37713771
if \tcode{decltype((sndr))} does not satisfy \libconcept{sender}, or
37723772
\tcode{decltype((f))} does not satisfy \exposconcept{movable-value},
3773-
\tcode{\exposid{then-cpo}(\linebreak sndr, f) }is ill-formed.
3773+
\tcode{\exposid{then-cpo}(sndr, f) }is ill-formed.
37743774

37753775
\pnum
37763776
Otherwise,
@@ -4075,7 +4075,7 @@
40754075
Let \tcode{sndr} and \tcode{env} be subexpressions, and
40764076
let \tcode{Sndr} be \tcode{decltype((sndr))}.
40774077
If
4078-
\tcode{\exposconcept{sender-for}<Sndr, \exposid{decayed-\linebreak typeof}<\exposid{let-cpo}>>}
4078+
\tcode{\exposconcept{sender-for}<Sndr, \exposid{decayed-typeof}<\exposid{let-cpo}>>}
40794079
is \tcode{false},
40804080
then the expression \tcode{\exposid{let-cpo}.transform_env(sndr, env)}
40814081
is ill-formed.
@@ -4690,7 +4690,7 @@
46904690
\end{codeblock}
46914691
if the expression \tcode{\exposid{decayed-tuple}<decltype(as)...>\{as...\}}
46924692
is potentially throwing;
4693-
otherwise, \tcode{o.emplace(\linebreak as...)}.
4693+
otherwise, \tcode{o.emplace(as...)}.
46944694

46954695
\pnum
46964696
The expression \tcode{when_all_with_variant(sndrs...)}
@@ -5733,7 +5733,7 @@
57335733

57345734
\pnum
57355735
For a subexpression \tcode{sndr}, let \tcode{Sndr} be \tcode{decltype((sndr))}.
5736-
If \tcode{\libconcept{sender_to}<Sndr, \exposid{sync-wait-receiver}<\linebreak Sndr>>}
5736+
If \tcode{\libconcept{sender_to}<Sndr, \exposid{sync-wait-receiver}<Sndr>>}
57375737
is \tcode{false},
57385738
the expression \tcode{sync_wait.apply_sender(sndr)} is ill-formed;
57395739
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
@@ -13803,7 +13803,7 @@
1380313803
\mandates
1380413804
Let \tcode{a} be
1380513805
\tcode{\exposid{abs-if-needed}(declval<typename InVec::value_type>())}.
13806-
Then, \tcode{decltype(\linebreak init + a * a} is convertible to \tcode{Scalar}.
13806+
Then, \tcode{decltype(init + a * a} is convertible to \tcode{Scalar}.
1380713807

1380813808
\pnum
1380913809
\returns
@@ -14009,7 +14009,7 @@
1400914009
\mandates
1401014010
Let \tcode{a} be
1401114011
\tcode{\exposid{abs-if-needed}(declval<typename InMat::value_type>())}.
14012-
Then, \tcode{decltype(\linebreak init + a * a)}
14012+
Then, \tcode{decltype(init + a * a)}
1401314013
is convertible to \tcode{Scalar}.
1401414014

1401514015
\pnum

0 commit comments

Comments
 (0)