Skip to content

Commit bb525d2

Browse files
committed
Remove awkward \linebreaks.
1 parent 2222534 commit bb525d2

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
@@ -7467,14 +7466,14 @@
74677466
\pnum
74687467
\expects
74697468
\tcode{T} is \oldconcept{EmplaceConstructible} into \tcode{forward_list}
7470-
from \tcode{std::forward<Args>(\linebreak args)...}.
7469+
from \tcode{std::forward<Args>(args)...}.
74717470
\tcode{position} is \tcode{before_begin()} or is a dereferenceable
74727471
iterator in the range \range{begin()}{end()}.
74737472

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

74797478
\pnum
74807479
\returns
@@ -10633,7 +10632,7 @@
1063310632
\pnum
1063410633
The expression
1063510634
\tcode{\exposid{is-vector-bool-reference}<T>} is \tcode{true}
10636-
if \tcode{T} denotes the type \tcode{vector<bool, Alloc>::\linebreak{}reference}
10635+
if \tcode{T} denotes the type \tcode{vector<bool, Alloc>::reference}
1063710636
for some type \tcode{Alloc} and
1063810637
\tcode{vector<bool, Alloc>} is not a program-defined specialization.
1063910638
\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.
@@ -17972,7 +17971,7 @@
1797217971
\effects
1797317972
If the map already contains an element \tcode{e}
1797417973
whose key is equivalent to \tcode{k},
17975-
assigns \tcode{std::forward<\linebreak M>(obj)} to \tcode{e.second}.
17974+
assigns \tcode{std::forward<M>(obj)} to \tcode{e.second}.
1797617975
Otherwise, equivalent to
1797717976
\begin{codeblock}
1797817977
try_emplace(std::forward<decltype(k)>(k), std::forward<M>(obj))
@@ -18027,7 +18026,7 @@
1802718026
\effects
1802818027
If the map already contains an element \tcode{e}
1802918028
whose key is equivalent to \tcode{k},
18030-
assigns \tcode{std::forward<\linebreak M>(obj)} to \tcode{e.second}.
18029+
assigns \tcode{std::forward<M>(obj)} to \tcode{e.second}.
1803118030
Otherwise, equivalent to
1803218031
\begin{codeblock}
1803318032
try_emplace(std::forward<K>(k), std::forward<M>(obj))
@@ -18641,14 +18640,14 @@
1864118640
\pnum
1864218641
\effects
1864318642
Equivalent to \tcode{flat_multimap(key_cont, mapped_cont)} and
18644-
\tcode{flat_multimap(key_cont, \linebreak{}mapped_cont, comp)}, respectively,
18643+
\tcode{flat_multimap(key_cont, mapped_cont, comp)}, respectively,
1864518644
except that \tcode{\exposid{c}.keys} and \tcode{\exposid{c}.values} are constructed
1864618645
with uses-allocator construction\iref{allocator.uses.construction}.
1864718646

1864818647
\pnum
1864918648
\complexity
1865018649
Same as \tcode{flat_multimap(key_cont, mapped_cont)} and
18651-
\tcode{flat_multimap(key_cont, \linebreak{}mapped_cont, comp)}, respectively.
18650+
\tcode{flat_multimap(key_cont, mapped_cont, comp)}, respectively.
1865218651
\end{itemdescr}
1865318652

1865418653
\indexlibraryctor{flat_multimap}%
@@ -23209,7 +23208,7 @@
2320923208
\item
2321023209
If \exposid{rank_} is greater than one,
2321123210
then the product of
23212-
\tcode{\exposid{LEAST-MULTIPLE-AT-LEAST}(pad, ext.extent(\linebreak 0))} and
23211+
\tcode{\exposid{LEAST-MULTIPLE-AT-LEAST}(pad, ext.extent(0))} and
2321323212
all values \tcode{ext.extent($k$)}
2321423213
with $k$ in the range of \range{1}{\exposid{rank_}}
2321523214
is representable as a value of type \tcode{index_type}.
@@ -23288,7 +23287,7 @@
2328823287
\item
2328923288
If \exposid{rank_} is greater than \tcode{1} and
2329023289
\tcode{padding_value} does not equal \tcode{dynamic_extent},
23291-
then \tcode{other.\linebreak stride(1)} equals
23290+
then \tcode{other.stride(1)} equals
2329223291
\begin{codeblock}
2329323292
@\exposid{LEAST-MULTIPLE-AT-LEAST}@(padding_value,
2329423293
extents_type::@\exposid{index-cast}@(other.extents().extent(0)))
@@ -23356,7 +23355,7 @@
2335623355
\item
2335723356
If \exposid{rank_} is greater than 1 and
2335823357
\tcode{padding_value} does not equal \tcode{dynamic_extent},
23359-
then \tcode{other.\linebreak stride(1)} equals
23358+
then \tcode{other.stride(1)} equals
2336023359
\begin{codeblock}
2336123360
@\exposid{LEAST-MULTIPLE-AT-LEAST}@(padding_value,
2336223361
extents_type::@\exposid{index-cast}@(other.extent(0)))
@@ -23754,7 +23753,7 @@
2375423753
if \exposid{static-padding-stride} is not \tcode{dynamic_extent}.
2375523754
\begin{note}
2375623755
Using \tcode{extents<index_type, \exposid{static-padding-stride}>}
23757-
instead of \tcode{index_type} as the type of \exposid{stride-\linebreak rm2}
23756+
instead of \tcode{index_type} as the type of \exposid{stride-rm2}
2375823757
would achieve this.
2375923758
\end{note}
2376023759
\end{itemdescr}
@@ -23837,13 +23836,13 @@
2383723836
\item
2383823837
If \exposid{rank_} is greater than one,
2383923838
then the product of
23840-
\tcode{\exposid{LEAST-MULTIPLE-AT-LEAST}(pad, ext.extent(\exposid{\linebreak rank_} - 1))} and
23839+
\tcode{\exposid{LEAST-MULTIPLE-AT-LEAST}(pad, ext.extent(\exposid{rank_} - 1))} and
2384123840
all values \tcode{ext.extent($k$)}
2384223841
with $k$ in the range of \range{0}{\exposid{rank_} - 1}
2384323842
is representable as a value of type \tcode{index_type}.
2384423843
\item
2384523844
If \tcode{padding_value} is not equal to \tcode{dynamic_extent},
23846-
\tcode{padding_value} equals \tcode{extents_type::\linebreak \exposid{index-cast}(pad)}.
23845+
\tcode{padding_value} equals \tcode{extents_type::\exposid{index-cast}(pad)}.
2384723846
\end{itemize}
2384823847

2384923848
\pnum
@@ -23916,7 +23915,7 @@
2391623915
\item
2391723916
If \exposid{rank_} is greater than 1 and
2391823917
\tcode{padding_value} does not equal \tcode{dynamic_extent},
23919-
then \tcode{other.\linebreak stride(\exposid{rank_} - 2)} equals
23918+
then \tcode{other.stride(\exposid{rank_} - 2)} equals
2392023919
\begin{codeblock}
2392123920
@\exposid{LEAST-MULTIPLE-AT-LEAST}@(padding_value,
2392223921
extents_type::@\exposid{index-cast}@(other.extents().extent(@\exposid{rank_}@ - 1)))
@@ -23984,7 +23983,7 @@
2398423983
\item
2398523984
If \exposid{rank_} is greater than 1 and
2398623985
\tcode{padding_value} does not equal \tcode{dynamic_extent},
23987-
then \tcode{other.\linebreak stride(\exposid{rank_} - 2)} equals
23986+
then \tcode{other.stride(\exposid{rank_} - 2)} equals
2398823987
\begin{codeblock}
2398923988
@\exposid{LEAST-MULTIPLE-AT-LEAST}@(padding_value,
2399023989
extents_type::@\exposid{index-cast}@(other.extent(@\exposid{rank_}@ - 1)))
@@ -25644,7 +25643,7 @@
2564425643
\item
2564525644
\tcode{stride(k) * \exposid{de-ice}($s_k$.stride)}
2564625645
if $S_k$ is a specialization of \tcode{strided_slice} and
25647-
\tcode{$s_k$.stride < $s_k$.\linebreak extent} is \tcode{true};
25646+
\tcode{$s_k$.stride < $s_k$.extent} is \tcode{true};
2564825647
\item
2564925648
otherwise, \tcode{stride($k$)}.
2565025649
\end{itemize}
@@ -26042,11 +26041,11 @@
2604226041
\begin{itemize}
2604326042
\item
2604426043
\tcode{decltype(submdspan_mapping(src.mapping(), slices...))}
26045-
is a specialization of \tcode{submd-\linebreak{}span_mapping_result}.
26044+
is a specialization of \tcode{submdspan_mapping_result}.
2604626045

2604726046
\item
2604826047
\tcode{is_same_v<remove_cvref_t<decltype(sub_map_offset.mapping.extents())>,}
26049-
\tcode{decltype(\linebreak{}submdspan_extents(src.mapping(), slices...))>}
26048+
\tcode{decltype(submdspan_extents(src.mapping(), slices...))>}
2605026049
is \tcode{true}.
2605126050

2605226051
\item
@@ -26076,11 +26075,11 @@
2607626075
\item
2607726076
$0 \le \tcode{\exposid{first_}<index_type, $k$>(slices...)}$
2607826077
$\le \tcode{\exposid{last_}<$k$>(src.extents(), slices...)}$
26079-
$\le \tcode{\linebreak{}src.extent($k$)}$
26078+
$\le \tcode{src.extent($k$)}$
2608026079
\end{itemize}
2608126080

2608226081
\item
26083-
\tcode{sub_map_offset.mapping.extents() == submdspan_extents(src.mapping(), slices...)}\linebreak
26082+
\tcode{sub_map_offset.mapping.extents() == submdspan_extents(src.mapping(), slices...)}
2608426083
is \tcode{true}; and
2608526084

2608626085
\item

source/exec.tex

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3239,7 +3239,7 @@
32393239
Let \tcode{out_sndr} and \tcode{env} be subexpressions
32403240
such that \tcode{OutSndr} is \tcode{decltype((out_sndr))}.
32413241
If \tcode{\exposconcept{sender-for}<Out\-Sndr, starts_on_t>} is \tcode{false},
3242-
then the expressions \tcode{starts_on.transform_env(out_sndr, env)} and\linebreak
3242+
then the expressions \tcode{starts_on.transform_env(out_sndr, env)} and
32433243
\tcode{starts_on.transform_sender(out_sndr, env)} are ill-formed; otherwise
32443244
\begin{itemize}
32453245
\item
@@ -3619,7 +3619,7 @@
36193619
\pnum
36203620
Let \tcode{out_sndr} and \tcode{env} be subexpressions,
36213621
let \tcode{OutSndr} be \tcode{decltype((out_sndr))}, and
3622-
let \tcode{Env} be \tcode{decltype((\linebreak env))}.
3622+
let \tcode{Env} be \tcode{decltype((env))}.
36233623
If \tcode{\exposconcept{sender-for}<OutSndr, on_t>} is \tcode{false},
36243624
then the expressions \tcode{on.transform_env(out_sndr, env)} and
36253625
\tcode{on.transform_sender(out_sndr, env)} are ill-formed.
@@ -3761,7 +3761,7 @@
37613761
For subexpressions \tcode{sndr} and \tcode{f},
37623762
if \tcode{decltype((sndr))} does not satisfy \libconcept{sender}, or
37633763
\tcode{decltype((f))} does not satisfy \exposconcept{movable-value},
3764-
\tcode{\exposid{then-cpo}(\linebreak sndr, f) }is ill-formed.
3764+
\tcode{\exposid{then-cpo}(sndr, f) }is ill-formed.
37653765

37663766
\pnum
37673767
Otherwise,
@@ -4066,7 +4066,7 @@
40664066
Let \tcode{sndr} and \tcode{env} be subexpressions, and
40674067
let \tcode{Sndr} be \tcode{decltype((sndr))}.
40684068
If
4069-
\tcode{\exposconcept{sender-for}<Sndr, \exposid{decayed-\linebreak typeof}<\exposid{let-cpo}>>}
4069+
\tcode{\exposconcept{sender-for}<Sndr, \exposid{decayed-typeof}<\exposid{let-cpo}>>}
40704070
is \tcode{false},
40714071
then the expression \tcode{\exposid{let-cpo}.transform_env(sndr, env)}
40724072
is ill-formed.
@@ -4681,7 +4681,7 @@
46814681
\end{codeblock}
46824682
if the expression \tcode{\exposid{decayed-tuple}<decltype(as)...>\{as...\}}
46834683
is potentially throwing;
4684-
otherwise, \tcode{o.emplace(\linebreak as...)}.
4684+
otherwise, \tcode{o.emplace(as...)}.
46854685

46864686
\pnum
46874687
The expression \tcode{when_all_with_variant(sndrs...)}
@@ -5724,7 +5724,7 @@
57245724

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

source/memory.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1368,7 +1368,7 @@
13681368
\begin{itemize}
13691369
\item
13701370
If \tcode{uses_allocator_v<remove_cv_t<T>, Alloc>} is \tcode{false} and
1371-
\tcode{is_constructible_v<T,\linebreak Args...>} is \tcode{true},
1371+
\tcode{is_constructible_v<T, Args...>} is \tcode{true},
13721372
return \tcode{forward_as_tuple(std::forward<Args>(args)...)}.
13731373
\item
13741374
Otherwise, if \tcode{uses_allocator_v<remove_cv_t<T>, Alloc>} is \tcode{true} and
@@ -4329,7 +4329,7 @@
43294329
the allocator \tcode{a} passed to \tcode{allocate_shared}.
43304330
\item
43314331
When a (sub)object of non-array type \tcode{U} is initialized by
4332-
\tcode{make_shared_for_overwrite} or\linebreak % avoid Overfull
4332+
\tcode{make_shared_for_overwrite} or
43334333
\tcode{allocate_shared_for_overwrite},
43344334
it is initialized via the expression \tcode{::new(pv) U},
43354335
where \tcode{pv} has type \tcode{void*} and
@@ -5564,7 +5564,7 @@
55645564
\end{codeblock}
55655565
if the expression
55665566
\tcode{s.reset(static_cast<SP>(p), std::forward<Args>(args)...)}
5567-
is well-\linebreak formed;
5567+
is well-formed;
55685568
\item
55695569
otherwise,
55705570
\begin{codeblock}

source/meta.tex

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

25362536
\item Otherwise, if

source/numerics.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13802,7 +13802,7 @@
1380213802
\mandates
1380313803
Let \tcode{a} be
1380413804
\tcode{\exposid{abs-if-needed}(declval<typename InVec::value_type>())}.
13805-
Then, \tcode{decltype(\linebreak init + a * a} is convertible to \tcode{Scalar}.
13805+
Then, \tcode{decltype(init + a * a} is convertible to \tcode{Scalar}.
1380613806

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

1401414014
\pnum

0 commit comments

Comments
 (0)