Skip to content

Commit 2f51ba3

Browse files
committed
Remove awkward \linebreaks.
1 parent 60ca12f commit 2f51ba3

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
@@ -7076,7 +7076,7 @@
70767076
\tcode{invoke(op, invoke(proj, *(first1 + (i - result))))}
70777077
for unary transforms defined in namespace \tcode{ranges};
70787078
\item
7079-
\tcode{invoke(binary_op, invoke(proj1, *(first1 + (i - result))), invoke(proj2,\linebreak *(first2 + (i - result))))}
7079+
\tcode{invoke(binary_op, invoke(proj1, *(first1 + (i - result))), invoke(proj2, *(first2 + (i - result))))}
70807080
for binary transforms defined in namespace \tcode{ranges}.
70817081
\end{itemize}
70827082
\end{itemize}
@@ -14202,7 +14202,7 @@
1420214202
\pnum
1420314203
\constraints
1420414204
\tcode{is_unbounded_array_v<T>} is \tcode{false}.
14205-
The expression \tcode{::new (declval<void*>()) T(\linebreak{}declval<Args>()...)}
14205+
The expression \tcode{::new (declval<void*>()) T(declval<Args>()...)}
1420614206
is well-formed when treated as an unevaluated operand\iref{term.unevaluated.operand}.
1420714207

1420814208
\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
@@ -3290,7 +3290,7 @@
32903290
Let \tcode{out_sndr} and \tcode{env} be subexpressions
32913291
such that \tcode{OutSndr} is \tcode{decltype((out_sndr))}.
32923292
If \tcode{\exposconcept{sender-for}<Out\-Sndr, starts_on_t>} is \tcode{false},
3293-
then the expressions \tcode{starts_on.transform_env(out_sndr, env)} and\linebreak
3293+
then the expressions \tcode{starts_on.transform_env(out_sndr, env)} and
32943294
\tcode{starts_on.transform_sender(out_sndr, env)} are ill-formed; otherwise
32953295
\begin{itemize}
32963296
\item
@@ -3670,7 +3670,7 @@
36703670
\pnum
36713671
Let \tcode{out_sndr} and \tcode{env} be subexpressions,
36723672
let \tcode{OutSndr} be \tcode{decltype((out_sndr))}, and
3673-
let \tcode{Env} be \tcode{decltype((\linebreak env))}.
3673+
let \tcode{Env} be \tcode{decltype((env))}.
36743674
If \tcode{\exposconcept{sender-for}<OutSndr, on_t>} is \tcode{false},
36753675
then the expressions \tcode{on.transform_env(out_sndr, env)} and
36763676
\tcode{on.transform_sender(out_sndr, env)} are ill-formed.
@@ -3812,7 +3812,7 @@
38123812
For subexpressions \tcode{sndr} and \tcode{f},
38133813
if \tcode{decltype((sndr))} does not satisfy \libconcept{sender}, or
38143814
\tcode{decltype((f))} does not satisfy \exposconcept{movable-value},
3815-
\tcode{\exposid{then-cpo}(\linebreak sndr, f) }is ill-formed.
3815+
\tcode{\exposid{then-cpo}(sndr, f) }is ill-formed.
38163816

38173817
\pnum
38183818
Otherwise,
@@ -4117,7 +4117,7 @@
41174117
Let \tcode{sndr} and \tcode{env} be subexpressions, and
41184118
let \tcode{Sndr} be \tcode{decltype((sndr))}.
41194119
If
4120-
\tcode{\exposconcept{sender-for}<Sndr, \exposid{decayed-\linebreak typeof}<\exposid{let-cpo}>>}
4120+
\tcode{\exposconcept{sender-for}<Sndr, \exposid{decayed-typeof}<\exposid{let-cpo}>>}
41214121
is \tcode{false},
41224122
then the expression \tcode{\exposid{let-cpo}.transform_env(sndr, env)}
41234123
is ill-formed.
@@ -4732,7 +4732,7 @@
47324732
\end{codeblock}
47334733
if the expression \tcode{\exposid{decayed-tuple}<decltype(as)...>\{as...\}}
47344734
is potentially throwing;
4735-
otherwise, \tcode{o.emplace(\linebreak as...)}.
4735+
otherwise, \tcode{o.emplace(as...)}.
47364736

47374737
\pnum
47384738
The expression \tcode{when_all_with_variant(sndrs...)}
@@ -5775,7 +5775,7 @@
57755775

57765776
\pnum
57775777
For a subexpression \tcode{sndr}, let \tcode{Sndr} be \tcode{decltype((sndr))}.
5778-
If \tcode{\libconcept{sender_to}<Sndr, \exposid{sync-wait-receiver}<\linebreak Sndr>>}
5778+
If \tcode{\libconcept{sender_to}<Sndr, \exposid{sync-wait-receiver}<Sndr>>}
57795779
is \tcode{false},
57805780
the expression \tcode{sync_wait.apply_sender(sndr)} is ill-formed;
57815781
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
@@ -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)
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