Skip to content

Commit 3f2d847

Browse files
committed
Remove awkward \linebreaks.
1 parent a31c230 commit 3f2d847

9 files changed

+71
-72
lines changed

source/algorithms.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5588,7 +5588,7 @@
55885588
\tcode{invoke(op, invoke(proj, *(first1 + (i - result))))}
55895589
for unary transforms defined in namespace \tcode{ranges};
55905590
\item
5591-
\tcode{invoke(binary_op, invoke(proj1, *(first1 + (i - result))), invoke(proj2,\linebreak *(first2 + (i - result))))}
5591+
\tcode{invoke(binary_op, invoke(proj1, *(first1 + (i - result))), invoke(proj2, *(first2 + (i - result))))}
55925592
for binary transforms defined in namespace \tcode{ranges}.
55935593
\end{itemize}
55945594
\end{itemize}
@@ -11738,7 +11738,7 @@
1173811738
\pnum
1173911739
\constraints
1174011740
\tcode{is_unbounded_array_v<T>} is \tcode{false}.
11741-
The expression \tcode{::new (declval<void*>()) T(\linebreak{}declval<Args>()...)}
11741+
The expression \tcode{::new (declval<void*>()) T(declval<Args>()...)}
1174211742
is well-formed when treated as an unevaluated operand\iref{term.unevaluated.operand}.
1174311743

1174411744
\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
@@ -7478,14 +7477,14 @@
74787477
\pnum
74797478
\expects
74807479
\tcode{T} is \oldconcept{EmplaceConstructible} into \tcode{forward_list}
7481-
from \tcode{std::forward<Args>(\linebreak args)...}.
7480+
from \tcode{std::forward<Args>(args)...}.
74827481
\tcode{position} is \tcode{before_begin()} or is a dereferenceable
74837482
iterator in the range \range{begin()}{end()}.
74847483

74857484
\pnum
74867485
\effects
74877486
Inserts an object of type \tcode{value_type} direct-non-list-initialized with
7488-
\tcode{std::forward<Args>(\linebreak args)...} after \tcode{position}.
7487+
\tcode{std::forward<Args>(args)...} after \tcode{position}.
74897488

74907489
\pnum
74917490
\returns
@@ -10643,7 +10642,7 @@
1064310642
\pnum
1064410643
The expression
1064510644
\tcode{\exposid{is-vector-bool-reference}<T>} is \tcode{true}
10646-
if \tcode{T} denotes the type \tcode{vector<bool, Alloc>::\linebreak{}reference}
10645+
if \tcode{T} denotes the type \tcode{vector<bool, Alloc>::reference}
1064710646
for some type \tcode{Alloc} and
1064810647
\tcode{vector<bool, Alloc>} is not a program-defined specialization.
1064910648
\end{itemdescr}
@@ -12035,7 +12034,7 @@
1203512034
Otherwise, let \tcode{r} be \tcode{equal_range(k)}.
1203612035
Constructs an object \tcode{u} of type \tcode{value_type} with
1203712036
\tcode{piecewise_construct, forward_as_tuple(std::forward<K>(k)),
12038-
forward_as_tuple(std::forward<Args>(args)...)}.\linebreak
12037+
forward_as_tuple(std::forward<Args>(args)...)}.
1203912038
If \tcode{equal_range(u.first) == r} is \tcode{false},
1204012039
the behavior is undefined.
1204112040
Inserts \tcode{u} into \tcode{*this}.
@@ -17521,7 +17520,7 @@
1752117520
\pnum
1752217521
\effects
1752317522
Equivalent to \tcode{flat_map(sorted_unique, key_cont, mapped_cont)} and
17524-
\tcode{flat_map(sorted_unique, key_cont, \linebreak{}mapped_cont, comp)}, respectively,
17523+
\tcode{flat_map(sorted_unique, key_cont, mapped_cont, comp)}, respectively,
1752517524
except that \tcode{\exposid{c}.keys} and \tcode{\exposid{c}.values} are constructed
1752617525
with uses-allocator construction\iref{allocator.uses.construction}.
1752717526

@@ -17705,7 +17704,7 @@
1770517704
\pnum
1770617705
\effects
1770717706
Initializes an object \tcode{t} of type \tcode{pair<key_type, mapped_type>}
17708-
with \tcode{std::forward<Args>(\linebreak args)...};
17707+
with \tcode{std::forward<Args>(args)...};
1770917708
if the map already contains an element
1771017709
whose key is equivalent to \tcode{t.first},
1771117710
\tcode{*this} is unchanged.
@@ -17982,7 +17981,7 @@
1798217981
\effects
1798317982
If the map already contains an element \tcode{e}
1798417983
whose key is equivalent to \tcode{k},
17985-
assigns \tcode{std::forward<\linebreak M>(obj)} to \tcode{e.second}.
17984+
assigns \tcode{std::forward<M>(obj)} to \tcode{e.second}.
1798617985
Otherwise, equivalent to
1798717986
\begin{codeblock}
1798817987
try_emplace(std::forward<decltype(k)>(k), std::forward<M>(obj))
@@ -18037,7 +18036,7 @@
1803718036
\effects
1803818037
If the map already contains an element \tcode{e}
1803918038
whose key is equivalent to \tcode{k},
18040-
assigns \tcode{std::forward<\linebreak M>(obj)} to \tcode{e.second}.
18039+
assigns \tcode{std::forward<M>(obj)} to \tcode{e.second}.
1804118040
Otherwise, equivalent to
1804218041
\begin{codeblock}
1804318042
try_emplace(std::forward<K>(k), std::forward<M>(obj))
@@ -18651,14 +18650,14 @@
1865118650
\pnum
1865218651
\effects
1865318652
Equivalent to \tcode{flat_multimap(key_cont, mapped_cont)} and
18654-
\tcode{flat_multimap(key_cont, \linebreak{}mapped_cont, comp)}, respectively,
18653+
\tcode{flat_multimap(key_cont, mapped_cont, comp)}, respectively,
1865518654
except that \tcode{\exposid{c}.keys} and \tcode{\exposid{c}.values} are constructed
1865618655
with uses-allocator construction\iref{allocator.uses.construction}.
1865718656

1865818657
\pnum
1865918658
\complexity
1866018659
Same as \tcode{flat_multimap(key_cont, mapped_cont)} and
18661-
\tcode{flat_multimap(key_cont, \linebreak{}mapped_cont, comp)}, respectively.
18660+
\tcode{flat_multimap(key_cont, mapped_cont, comp)}, respectively.
1866218661
\end{itemdescr}
1866318662

1866418663
\indexlibraryctor{flat_multimap}%
@@ -23212,7 +23211,7 @@
2321223211
\item
2321323212
If \exposid{rank_} is greater than one,
2321423213
then the product of
23215-
\tcode{\exposid{LEAST-MULTIPLE-AT-LEAST}(pad, ext.extent(\linebreak 0))} and
23214+
\tcode{\exposid{LEAST-MULTIPLE-AT-LEAST}(pad, ext.extent(0))} and
2321623215
all values \tcode{ext.extent($k$)}
2321723216
with $k$ in the range of \range{1}{\exposid{rank_}}
2321823217
is representable as a value of type \tcode{index_type}.
@@ -23291,7 +23290,7 @@
2329123290
\item
2329223291
If \exposid{rank_} is greater than \tcode{1} and
2329323292
\tcode{padding_value} does not equal \tcode{dynamic_extent},
23294-
then \tcode{other.\linebreak stride(1)} equals
23293+
then \tcode{other.stride(1)} equals
2329523294
\begin{codeblock}
2329623295
@\exposid{LEAST-MULTIPLE-AT-LEAST}@(padding_value,
2329723296
extents_type::@\exposid{index-cast}@(other.extents().extent(0)))
@@ -23358,7 +23357,7 @@
2335823357
\item
2335923358
If \exposid{rank_} is greater than 1 and
2336023359
\tcode{padding_value} does not equal \tcode{dynamic_extent},
23361-
then \tcode{other.\linebreak stride(1)} equals
23360+
then \tcode{other.stride(1)} equals
2336223361
\begin{codeblock}
2336323362
@\exposid{LEAST-MULTIPLE-AT-LEAST}@(padding_value,
2336423363
extents_type::@\exposid{index-cast}@(other.extent(0)))
@@ -23756,7 +23755,7 @@
2375623755
if \exposid{static-padding-stride} is not \tcode{dynamic_extent}.
2375723756
\begin{note}
2375823757
Using \tcode{extents<index_type, \exposid{static-padding-stride}>}
23759-
instead of \tcode{index_type} as the type of \exposid{stride-\linebreak rm2}
23758+
instead of \tcode{index_type} as the type of \exposid{stride-rm2}
2376023759
would achieve this.
2376123760
\end{note}
2376223761
\end{itemdescr}
@@ -23839,13 +23838,13 @@
2383923838
\item
2384023839
If \exposid{rank_} is greater than one,
2384123840
then the product of
23842-
\tcode{\exposid{LEAST-MULTIPLE-AT-LEAST}(pad, ext.extent(\exposid{\linebreak rank_} - 1))} and
23841+
\tcode{\exposid{LEAST-MULTIPLE-AT-LEAST}(pad, ext.extent(\exposid{rank_} - 1))} and
2384323842
all values \tcode{ext.extent($k$)}
2384423843
with $k$ in the range of \range{0}{\exposid{rank_} - 1}
2384523844
is representable as a value of type \tcode{index_type}.
2384623845
\item
2384723846
If \tcode{padding_value} is not equal to \tcode{dynamic_extent},
23848-
\tcode{padding_value} equals \tcode{extents_type::\linebreak \exposid{index-cast}(pad)}.
23847+
\tcode{padding_value} equals \tcode{extents_type::\exposid{index-cast}(pad)}.
2384923848
\end{itemize}
2385023849

2385123850
\pnum
@@ -23918,7 +23917,7 @@
2391823917
\item
2391923918
If \exposid{rank_} is greater than 1 and
2392023919
\tcode{padding_value} does not equal \tcode{dynamic_extent},
23921-
then \tcode{other.\linebreak stride(\exposid{rank_} - 2)} equals
23920+
then \tcode{other.stride(\exposid{rank_} - 2)} equals
2392223921
\begin{codeblock}
2392323922
@\exposid{LEAST-MULTIPLE-AT-LEAST}@(padding_value,
2392423923
extents_type::@\exposid{index-cast}@(other.extents().extent(@\exposid{rank_}@ - 1)))
@@ -23986,7 +23985,7 @@
2398623985
\item
2398723986
If \exposid{rank_} is greater than 1 and
2398823987
\tcode{padding_value} does not equal \tcode{dynamic_extent},
23989-
then \tcode{other.\linebreak stride(\exposid{rank_} - 2)} equals
23988+
then \tcode{other.stride(\exposid{rank_} - 2)} equals
2399023989
\begin{codeblock}
2399123990
@\exposid{LEAST-MULTIPLE-AT-LEAST}@(padding_value,
2399223991
extents_type::@\exposid{index-cast}@(other.extent(@\exposid{rank_}@ - 1)))
@@ -25575,7 +25574,7 @@
2557525574
\item
2557625575
\tcode{stride(k) * \exposid{de-ice}($s_k$.stride)}
2557725576
if $S_k$ is a specialization of \tcode{strided_slice} and
25578-
\tcode{$s_k$.stride < $s_k$.\linebreak extent} is \tcode{true};
25577+
\tcode{$s_k$.stride < $s_k$.extent} is \tcode{true};
2557925578
\item
2558025579
otherwise, \tcode{stride($k$)}.
2558125580
\end{itemize}
@@ -25973,11 +25972,11 @@
2597325972
\begin{itemize}
2597425973
\item
2597525974
\tcode{decltype(submdspan_mapping(src.mapping(), slices...))}
25976-
is a specialization of \tcode{submd-\linebreak{}span_mapping_result}.
25975+
is a specialization of \tcode{submdspan_mapping_result}.
2597725976

2597825977
\item
2597925978
\tcode{is_same_v<remove_cvref_t<decltype(sub_map_offset.mapping.extents())>,}
25980-
\tcode{decltype(\linebreak{}submdspan_extents(src.mapping(), slices...))>}
25979+
\tcode{decltype(submdspan_extents(src.mapping(), slices...))>}
2598125980
is \tcode{true}.
2598225981

2598325982
\item
@@ -26007,11 +26006,11 @@
2600726006
\item
2600826007
$0 \le \tcode{\exposid{first_}<index_type, $k$>(slices...)}$
2600926008
$\le \tcode{\exposid{last_}<$k$>(src.extents(), slices...)}$
26010-
$\le \tcode{\linebreak{}src.extent($k$)}$
26009+
$\le \tcode{src.extent($k$)}$
2601126010
\end{itemize}
2601226011

2601326012
\item
26014-
\tcode{sub_map_offset.mapping.extents() == submdspan_extents(src.mapping(), slices...)}\linebreak
26013+
\tcode{sub_map_offset.mapping.extents() == submdspan_extents(src.mapping(), slices...)}
2601526014
is \tcode{true}; and
2601626015

2601726016
\item

source/exec.tex

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2831,7 +2831,7 @@
28312831
Let \tcode{out_sndr} and \tcode{env} be subexpressions
28322832
such that \tcode{OutSndr} is \tcode{decltype((out_sndr))}.
28332833
If \tcode{\exposconcept{sender-for}<Out\-Sndr, starts_on_t>} is \tcode{false},
2834-
then the expressions \tcode{starts_on.transform_env(out_sndr, env)} and\linebreak
2834+
then the expressions \tcode{starts_on.transform_env(out_sndr, env)} and
28352835
\tcode{starts_on.transform_sender(out_sndr, env)} are ill-formed; otherwise
28362836
\begin{itemize}
28372837
\item
@@ -3183,7 +3183,7 @@
31833183
\pnum
31843184
Let \tcode{out_sndr} and \tcode{env} be subexpressions,
31853185
let \tcode{OutSndr} be \tcode{decltype((out_sndr))}, and
3186-
let \tcode{Env} be \tcode{decltype((\linebreak env))}.
3186+
let \tcode{Env} be \tcode{decltype((env))}.
31873187
If \tcode{\exposconcept{sender-for}<OutSndr, on_t>} is \tcode{false},
31883188
then the expressions \tcode{on.transform_env(out_sndr, env)} and
31893189
\tcode{on.transform_sender(out_sndr, env)} are ill-formed.
@@ -3345,7 +3345,7 @@
33453345
For subexpressions \tcode{sndr} and \tcode{f},
33463346
if \tcode{decltype((sndr))} does not satisfy \libconcept{sender}, or
33473347
\tcode{decltype((f))} does not satisfy \exposconcept{movable-value},
3348-
\tcode{\exposid{then-cpo}(\linebreak sndr, f) }is ill-formed.
3348+
\tcode{\exposid{then-cpo}(sndr, f) }is ill-formed.
33493349

33503350
\pnum
33513351
Otherwise,
@@ -3526,7 +3526,7 @@
35263526
Let \tcode{LetSigs} be a pack of those types in \tcode{Sigs}
35273527
with a return type of \tcode{\exposid{decayed-typeof}<\exposid{set-cpo}>}.
35283528
Let \exposid{as-tuple} be an alias template
3529-
such that \tcode{\exposid{as-tuple}<\linebreak Tag(Args...)>} denotes
3529+
such that \tcode{\exposid{as-tuple}<Tag(Args...)>} denotes
35303530
the type \tcode{\exposid{decayed-tuple}<Args...>}.
35313531
Then \tcode{args_variant_t} denotes
35323532
the type \tcode{variant<monostate, \exposid{as-tuple}<LetSigs>...>}
@@ -3581,7 +3581,7 @@
35813581
Let \tcode{sndr} and \tcode{env} be subexpressions, and
35823582
let \tcode{Sndr} be \tcode{decltype((sndr))}.
35833583
If
3584-
\tcode{\exposconcept{sender-for}<Sndr, \exposid{decayed-\linebreak typeof}<\exposid{let-cpo}>>}
3584+
\tcode{\exposconcept{sender-for}<Sndr, \exposid{decayed-typeof}<\exposid{let-cpo}>>}
35853585
is \tcode{false},
35863586
then the expression \tcode{\exposid{let-cpo}.transform_env(sndr, env)}
35873587
is ill-formed.
@@ -4338,7 +4338,7 @@
43384338
\end{codeblock}
43394339
if the expression \tcode{\exposid{decayed-tuple}<decltype(as)...>\{as...\}}
43404340
is potentially throwing;
4341-
otherwise, \tcode{o.emplace(\linebreak as...)}.
4341+
otherwise, \tcode{o.emplace(as...)}.
43424342

43434343
\pnum
43444344
The expression \tcode{when_all_with_variant(sndrs...)}
@@ -4651,7 +4651,7 @@
46514651

46524652
\pnum
46534653
For a subexpression \tcode{sndr}, let \tcode{Sndr} be \tcode{decltype((sndr))}.
4654-
If \tcode{\libconcept{sender_to}<Sndr, \exposid{sync-wait-receiver}<\linebreak Sndr>>}
4654+
If \tcode{\libconcept{sender_to}<Sndr, \exposid{sync-wait-receiver}<Sndr>>}
46554655
is \tcode{false},
46564656
the expression \tcode{sync_wait.apply_sender(sndr)} is ill-formed;
46574657
otherwise, it is equivalent to:
@@ -4722,7 +4722,7 @@
47224722

47234723
\pnum
47244724
If \tcode{\exposconcept{callable}<sync_wait_t, Sndr>} is \tcode{false},
4725-
the expression \tcode{sync_wait_with_variant.apply_sender(\linebreak sndr)} is ill-formed.
4725+
the expression \tcode{sync_wait_with_variant.apply_sender(sndr)} is ill-formed.
47264726
Otherwise, it is equivalent to:
47274727
\begin{codeblock}
47284728
using result_type = @\exposid{sync-wait-with-variant-result-type}@<Sndr>;
@@ -4963,7 +4963,7 @@
49634963
Let \tcode{Es} be a pack of the types in the \exposid{type-list} named by
49644964
\tcode{\exposid{gather-signatures}<set_error_t, InputSigna\-tures, type_identity_t, \exposid{error-list}>},
49654965
where \exposid{error-list} is an alias template
4966-
such that \tcode{\exposid{error-list}<\linebreak Ts...>} is
4966+
such that \tcode{\exposid{error-list}<Ts...>} is
49674967
\tcode{\exposid{type-list}<SetError<Ts>...>}.
49684968

49694969
\pnum

source/memory.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1255,7 +1255,7 @@
12551255
\begin{itemize}
12561256
\item
12571257
If \tcode{uses_allocator_v<remove_cv_t<T>, Alloc>} is \tcode{false} and
1258-
\tcode{is_constructible_v<T,\linebreak Args...>} is \tcode{true},
1258+
\tcode{is_constructible_v<T, Args...>} is \tcode{true},
12591259
return \tcode{forward_as_tuple(std::forward<Args>(args)...)}.
12601260
\item
12611261
Otherwise, if \tcode{uses_allocator_v<remove_cv_t<T>, Alloc>} is \tcode{true} and
@@ -4188,7 +4188,7 @@
41884188
the allocator \tcode{a} passed to \tcode{allocate_shared}.
41894189
\item
41904190
When a (sub)object of non-array type \tcode{U} is initialized by
4191-
\tcode{make_shared_for_overwrite} or\linebreak % avoid Overfull
4191+
\tcode{make_shared_for_overwrite} or
41924192
\tcode{allocate_shared_for_overwrite},
41934193
it is initialized via the expression \tcode{::new(pv) U},
41944194
where \tcode{pv} has type \tcode{void*} and
@@ -5423,7 +5423,7 @@
54235423
\end{codeblock}
54245424
if the expression
54255425
\tcode{s.reset(static_cast<SP>(p), std::forward<Args>(args)...)}
5426-
is well-\linebreak formed;
5426+
is well-formed;
54275427
\item
54285428
otherwise,
54295429
\begin{codeblock}

source/meta.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2178,7 +2178,7 @@
21782178
\item Let \tcode{R} be \tcode{\placeholdernc{COMMON-REF}(T1, T2)}.
21792179
If \tcode{T1} and \tcode{T2} are reference types,
21802180
\tcode{R} is well-formed, and
2181-
\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},
2181+
\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},
21822182
then the member typedef \tcode{type} denotes \tcode{R}.
21832183

21842184
\item Otherwise, if

source/numerics.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13781,7 +13781,7 @@
1378113781
\mandates
1378213782
Let \tcode{a} be
1378313783
\tcode{\exposid{abs-if-needed}(declval<typename InVec::value_type>())}.
13784-
Then, \tcode{decltype(\linebreak init + a * a} is convertible to \tcode{Scalar}.
13784+
Then, \tcode{decltype(init + a * a} is convertible to \tcode{Scalar}.
1378513785

1378613786
\pnum
1378713787
\returns
@@ -13987,7 +13987,7 @@
1398713987
\mandates
1398813988
Let \tcode{a} be
1398913989
\tcode{\exposid{abs-if-needed}(declval<typename InMat::value_type>())}.
13990-
Then, \tcode{decltype(\linebreak init + a * a)}
13990+
Then, \tcode{decltype(init + a * a)}
1399113991
is convertible to \tcode{Scalar}.
1399213992

1399313993
\pnum

0 commit comments

Comments
 (0)