Skip to content

Commit 244a325

Browse files
committed
Remove awkward \linebreaks.
1 parent 2c46a9a commit 244a325

File tree

9 files changed

+71
-72
lines changed

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
@@ -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}%
@@ -23202,7 +23201,7 @@
2320223201
\item
2320323202
If \exposid{rank_} is greater than one,
2320423203
then the product of
23205-
\tcode{\exposid{LEAST-MULTIPLE-AT-LEAST}(pad, ext.extent(\linebreak 0))} and
23204+
\tcode{\exposid{LEAST-MULTIPLE-AT-LEAST}(pad, ext.extent(0))} and
2320623205
all values \tcode{ext.extent($k$)}
2320723206
with $k$ in the range of \range{1}{\exposid{rank_}}
2320823207
is representable as a value of type \tcode{index_type}.
@@ -23281,7 +23280,7 @@
2328123280
\item
2328223281
If \exposid{rank_} is greater than \tcode{1} and
2328323282
\tcode{padding_value} does not equal \tcode{dynamic_extent},
23284-
then \tcode{other.\linebreak stride(1)} equals
23283+
then \tcode{other.stride(1)} equals
2328523284
\begin{codeblock}
2328623285
@\exposid{LEAST-MULTIPLE-AT-LEAST}@(padding_value,
2328723286
extents_type::@\exposid{index-cast}@(other.extents().extent(0)))
@@ -23348,7 +23347,7 @@
2334823347
\item
2334923348
If \exposid{rank_} is greater than 1 and
2335023349
\tcode{padding_value} does not equal \tcode{dynamic_extent},
23351-
then \tcode{other.\linebreak stride(1)} equals
23350+
then \tcode{other.stride(1)} equals
2335223351
\begin{codeblock}
2335323352
@\exposid{LEAST-MULTIPLE-AT-LEAST}@(padding_value,
2335423353
extents_type::@\exposid{index-cast}@(other.extent(0)))
@@ -23746,7 +23745,7 @@
2374623745
if \exposid{static-padding-stride} is not \tcode{dynamic_extent}.
2374723746
\begin{note}
2374823747
Using \tcode{extents<index_type, \exposid{static-padding-stride}>}
23749-
instead of \tcode{index_type} as the type of \exposid{stride-\linebreak rm2}
23748+
instead of \tcode{index_type} as the type of \exposid{stride-rm2}
2375023749
would achieve this.
2375123750
\end{note}
2375223751
\end{itemdescr}
@@ -23829,13 +23828,13 @@
2382923828
\item
2383023829
If \exposid{rank_} is greater than one,
2383123830
then the product of
23832-
\tcode{\exposid{LEAST-MULTIPLE-AT-LEAST}(pad, ext.extent(\exposid{\linebreak rank_} - 1))} and
23831+
\tcode{\exposid{LEAST-MULTIPLE-AT-LEAST}(pad, ext.extent(\exposid{rank_} - 1))} and
2383323832
all values \tcode{ext.extent($k$)}
2383423833
with $k$ in the range of \range{0}{\exposid{rank_} - 1}
2383523834
is representable as a value of type \tcode{index_type}.
2383623835
\item
2383723836
If \tcode{padding_value} is not equal to \tcode{dynamic_extent},
23838-
\tcode{padding_value} equals \tcode{extents_type::\linebreak \exposid{index-cast}(pad)}.
23837+
\tcode{padding_value} equals \tcode{extents_type::\exposid{index-cast}(pad)}.
2383923838
\end{itemize}
2384023839

2384123840
\pnum
@@ -23908,7 +23907,7 @@
2390823907
\item
2390923908
If \exposid{rank_} is greater than 1 and
2391023909
\tcode{padding_value} does not equal \tcode{dynamic_extent},
23911-
then \tcode{other.\linebreak stride(\exposid{rank_} - 2)} equals
23910+
then \tcode{other.stride(\exposid{rank_} - 2)} equals
2391223911
\begin{codeblock}
2391323912
@\exposid{LEAST-MULTIPLE-AT-LEAST}@(padding_value,
2391423913
extents_type::@\exposid{index-cast}@(other.extents().extent(@\exposid{rank_}@ - 1)))
@@ -23976,7 +23975,7 @@
2397623975
\item
2397723976
If \exposid{rank_} is greater than 1 and
2397823977
\tcode{padding_value} does not equal \tcode{dynamic_extent},
23979-
then \tcode{other.\linebreak stride(\exposid{rank_} - 2)} equals
23978+
then \tcode{other.stride(\exposid{rank_} - 2)} equals
2398023979
\begin{codeblock}
2398123980
@\exposid{LEAST-MULTIPLE-AT-LEAST}@(padding_value,
2398223981
extents_type::@\exposid{index-cast}@(other.extent(@\exposid{rank_}@ - 1)))
@@ -25565,7 +25564,7 @@
2556525564
\item
2556625565
\tcode{stride(k) * \exposid{de-ice}($s_k$.stride)}
2556725566
if $S_k$ is a specialization of \tcode{strided_slice} and
25568-
\tcode{$s_k$.stride < $s_k$.\linebreak extent} is \tcode{true};
25567+
\tcode{$s_k$.stride < $s_k$.extent} is \tcode{true};
2556925568
\item
2557025569
otherwise, \tcode{stride($k$)}.
2557125570
\end{itemize}
@@ -25963,11 +25962,11 @@
2596325962
\begin{itemize}
2596425963
\item
2596525964
\tcode{decltype(submdspan_mapping(src.mapping(), slices...))}
25966-
is a specialization of \tcode{submd-\linebreak{}span_mapping_result}.
25965+
is a specialization of \tcode{submdspan_mapping_result}.
2596725966

2596825967
\item
2596925968
\tcode{is_same_v<remove_cvref_t<decltype(sub_map_offset.mapping.extents())>,}
25970-
\tcode{decltype(\linebreak{}submdspan_extents(src.mapping(), slices...))>}
25969+
\tcode{decltype(submdspan_extents(src.mapping(), slices...))>}
2597125970
is \tcode{true}.
2597225971

2597325972
\item
@@ -25997,11 +25996,11 @@
2599725996
\item
2599825997
$0 \le \tcode{\exposid{first_}<index_type, $k$>(slices...)}$
2599925998
$\le \tcode{\exposid{last_}<$k$>(src.extents(), slices...)}$
26000-
$\le \tcode{\linebreak{}src.extent($k$)}$
25999+
$\le \tcode{src.extent($k$)}$
2600126000
\end{itemize}
2600226001

2600326002
\item
26004-
\tcode{sub_map_offset.mapping.extents() == submdspan_extents(src.mapping(), slices...)}\linebreak
26003+
\tcode{sub_map_offset.mapping.extents() == submdspan_extents(src.mapping(), slices...)}
2600526004
is \tcode{true}; and
2600626005

2600726006
\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>;
@@ -4962,7 +4962,7 @@
49624962
Let \tcode{Es} be a pack of the types in the \exposid{type-list} named by
49634963
\tcode{\exposid{gather-signatures}<set_error_t, InputSigna\-tures, type_identity_t, \exposid{error-list}>},
49644964
where \exposid{error-list} is an alias template
4965-
such that \tcode{\exposid{error-list}<\linebreak Ts...>} is
4965+
such that \tcode{\exposid{error-list}<Ts...>} is
49664966
\tcode{\exposid{type-list}<SetError<Ts>...>}.
49674967

49684968
\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
@@ -2184,7 +2184,7 @@
21842184
\item Let \tcode{R} be \tcode{\placeholdernc{COMMON-REF}(T1, T2)}.
21852185
If \tcode{T1} and \tcode{T2} are reference types,
21862186
\tcode{R} is well-formed, and
2187-
\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},
2187+
\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},
21882188
then the member typedef \tcode{type} denotes \tcode{R}.
21892189

21902190
\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)