Skip to content

Commit 5b897bd

Browse files
committed
Remove awkward \linebreaks.
1 parent 41d4237 commit 5b897bd

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}%
@@ -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)))
@@ -23355,7 +23354,7 @@
2335523354
\item
2335623355
If \exposid{rank_} is greater than 1 and
2335723356
\tcode{padding_value} does not equal \tcode{dynamic_extent},
23358-
then \tcode{other.\linebreak stride(1)} equals
23357+
then \tcode{other.stride(1)} equals
2335923358
\begin{codeblock}
2336023359
@\exposid{LEAST-MULTIPLE-AT-LEAST}@(padding_value,
2336123360
extents_type::@\exposid{index-cast}@(other.extent(0)))
@@ -23753,7 +23752,7 @@
2375323752
if \exposid{static-padding-stride} is not \tcode{dynamic_extent}.
2375423753
\begin{note}
2375523754
Using \tcode{extents<index_type, \exposid{static-padding-stride}>}
23756-
instead of \tcode{index_type} as the type of \exposid{stride-\linebreak rm2}
23755+
instead of \tcode{index_type} as the type of \exposid{stride-rm2}
2375723756
would achieve this.
2375823757
\end{note}
2375923758
\end{itemdescr}
@@ -23836,13 +23835,13 @@
2383623835
\item
2383723836
If \exposid{rank_} is greater than one,
2383823837
then the product of
23839-
\tcode{\exposid{LEAST-MULTIPLE-AT-LEAST}(pad, ext.extent(\exposid{\linebreak rank_} - 1))} and
23838+
\tcode{\exposid{LEAST-MULTIPLE-AT-LEAST}(pad, ext.extent(\exposid{rank_} - 1))} and
2384023839
all values \tcode{ext.extent($k$)}
2384123840
with $k$ in the range of \range{0}{\exposid{rank_} - 1}
2384223841
is representable as a value of type \tcode{index_type}.
2384323842
\item
2384423843
If \tcode{padding_value} is not equal to \tcode{dynamic_extent},
23845-
\tcode{padding_value} equals \tcode{extents_type::\linebreak \exposid{index-cast}(pad)}.
23844+
\tcode{padding_value} equals \tcode{extents_type::\exposid{index-cast}(pad)}.
2384623845
\end{itemize}
2384723846

2384823847
\pnum
@@ -23915,7 +23914,7 @@
2391523914
\item
2391623915
If \exposid{rank_} is greater than 1 and
2391723916
\tcode{padding_value} does not equal \tcode{dynamic_extent},
23918-
then \tcode{other.\linebreak stride(\exposid{rank_} - 2)} equals
23917+
then \tcode{other.stride(\exposid{rank_} - 2)} equals
2391923918
\begin{codeblock}
2392023919
@\exposid{LEAST-MULTIPLE-AT-LEAST}@(padding_value,
2392123920
extents_type::@\exposid{index-cast}@(other.extents().extent(@\exposid{rank_}@ - 1)))
@@ -23983,7 +23982,7 @@
2398323982
\item
2398423983
If \exposid{rank_} is greater than 1 and
2398523984
\tcode{padding_value} does not equal \tcode{dynamic_extent},
23986-
then \tcode{other.\linebreak stride(\exposid{rank_} - 2)} equals
23985+
then \tcode{other.stride(\exposid{rank_} - 2)} equals
2398723986
\begin{codeblock}
2398823987
@\exposid{LEAST-MULTIPLE-AT-LEAST}@(padding_value,
2398923988
extents_type::@\exposid{index-cast}@(other.extent(@\exposid{rank_}@ - 1)))
@@ -25572,7 +25571,7 @@
2557225571
\item
2557325572
\tcode{stride(k) * \exposid{de-ice}($s_k$.stride)}
2557425573
if $S_k$ is a specialization of \tcode{strided_slice} and
25575-
\tcode{$s_k$.stride < $s_k$.\linebreak extent} is \tcode{true};
25574+
\tcode{$s_k$.stride < $s_k$.extent} is \tcode{true};
2557625575
\item
2557725576
otherwise, \tcode{stride($k$)}.
2557825577
\end{itemize}
@@ -25970,11 +25969,11 @@
2597025969
\begin{itemize}
2597125970
\item
2597225971
\tcode{decltype(submdspan_mapping(src.mapping(), slices...))}
25973-
is a specialization of \tcode{submd-\linebreak{}span_mapping_result}.
25972+
is a specialization of \tcode{submdspan_mapping_result}.
2597425973

2597525974
\item
2597625975
\tcode{is_same_v<remove_cvref_t<decltype(sub_map_offset.mapping.extents())>,}
25977-
\tcode{decltype(\linebreak{}submdspan_extents(src.mapping(), slices...))>}
25976+
\tcode{decltype(submdspan_extents(src.mapping(), slices...))>}
2597825977
is \tcode{true}.
2597925978

2598025979
\item
@@ -26004,11 +26003,11 @@
2600426003
\item
2600526004
$0 \le \tcode{\exposid{first_}<index_type, $k$>(slices...)}$
2600626005
$\le \tcode{\exposid{last_}<$k$>(src.extents(), slices...)}$
26007-
$\le \tcode{\linebreak{}src.extent($k$)}$
26006+
$\le \tcode{src.extent($k$)}$
2600826007
\end{itemize}
2600926008

2601026009
\item
26011-
\tcode{sub_map_offset.mapping.extents() == submdspan_extents(src.mapping(), slices...)}\linebreak
26010+
\tcode{sub_map_offset.mapping.extents() == submdspan_extents(src.mapping(), slices...)}
2601226011
is \tcode{true}; and
2601326012

2601426013
\item

source/exec.tex

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2863,7 +2863,7 @@
28632863
Let \tcode{out_sndr} and \tcode{env} be subexpressions
28642864
such that \tcode{OutSndr} is \tcode{decltype((out_sndr))}.
28652865
If \tcode{\exposconcept{sender-for}<Out\-Sndr, starts_on_t>} is \tcode{false},
2866-
then the expressions \tcode{starts_on.transform_env(out_sndr, env)} and\linebreak
2866+
then the expressions \tcode{starts_on.transform_env(out_sndr, env)} and
28672867
\tcode{starts_on.transform_sender(out_sndr, env)} are ill-formed; otherwise
28682868
\begin{itemize}
28692869
\item
@@ -3222,7 +3222,7 @@
32223222
\pnum
32233223
Let \tcode{out_sndr} and \tcode{env} be subexpressions,
32243224
let \tcode{OutSndr} be \tcode{decltype((out_sndr))}, and
3225-
let \tcode{Env} be \tcode{decltype((\linebreak env))}.
3225+
let \tcode{Env} be \tcode{decltype((env))}.
32263226
If \tcode{\exposconcept{sender-for}<OutSndr, on_t>} is \tcode{false},
32273227
then the expressions \tcode{on.transform_env(out_sndr, env)} and
32283228
\tcode{on.transform_sender(out_sndr, env)} are ill-formed.
@@ -3384,7 +3384,7 @@
33843384
For subexpressions \tcode{sndr} and \tcode{f},
33853385
if \tcode{decltype((sndr))} does not satisfy \libconcept{sender}, or
33863386
\tcode{decltype((f))} does not satisfy \exposconcept{movable-value},
3387-
\tcode{\exposid{then-cpo}(\linebreak sndr, f) }is ill-formed.
3387+
\tcode{\exposid{then-cpo}(sndr, f) }is ill-formed.
33883388

33893389
\pnum
33903390
Otherwise,
@@ -3569,7 +3569,7 @@
35693569
Let \tcode{LetSigs} be a pack of those types in \tcode{Sigs}
35703570
with a return type of \tcode{\exposid{decayed-typeof}<\exposid{set-cpo}>}.
35713571
Let \exposid{as-tuple} be an alias template
3572-
such that \tcode{\exposid{as-tuple}<\linebreak Tag(Args...)>} denotes
3572+
such that \tcode{\exposid{as-tuple}<Tag(Args...)>} denotes
35733573
the type \tcode{\exposid{decayed-tuple}<Args...>}.
35743574
Then \tcode{args_variant_t} denotes
35753575
the type \tcode{variant<monostate, \exposid{as-tuple}<LetSigs>...>}
@@ -3624,7 +3624,7 @@
36243624
Let \tcode{sndr} and \tcode{env} be subexpressions, and
36253625
let \tcode{Sndr} be \tcode{decltype((sndr))}.
36263626
If
3627-
\tcode{\exposconcept{sender-for}<Sndr, \exposid{decayed-\linebreak typeof}<\exposid{let-cpo}>>}
3627+
\tcode{\exposconcept{sender-for}<Sndr, \exposid{decayed-typeof}<\exposid{let-cpo}>>}
36283628
is \tcode{false},
36293629
then the expression \tcode{\exposid{let-cpo}.transform_env(sndr, env)}
36303630
is ill-formed.
@@ -4385,7 +4385,7 @@
43854385
\end{codeblock}
43864386
if the expression \tcode{\exposid{decayed-tuple}<decltype(as)...>\{as...\}}
43874387
is potentially throwing;
4388-
otherwise, \tcode{o.emplace(\linebreak as...)}.
4388+
otherwise, \tcode{o.emplace(as...)}.
43894389

43904390
\pnum
43914391
The expression \tcode{when_all_with_variant(sndrs...)}
@@ -4698,7 +4698,7 @@
46984698

46994699
\pnum
47004700
For a subexpression \tcode{sndr}, let \tcode{Sndr} be \tcode{decltype((sndr))}.
4701-
If \tcode{\libconcept{sender_to}<Sndr, \exposid{sync-wait-receiver}<\linebreak Sndr>>}
4701+
If \tcode{\libconcept{sender_to}<Sndr, \exposid{sync-wait-receiver}<Sndr>>}
47024702
is \tcode{false},
47034703
the expression \tcode{sync_wait.apply_sender(sndr)} is ill-formed;
47044704
otherwise, it is equivalent to:
@@ -4769,7 +4769,7 @@
47694769

47704770
\pnum
47714771
If \tcode{\exposconcept{callable}<sync_wait_t, Sndr>} is \tcode{false},
4772-
the expression \tcode{sync_wait_with_variant.apply_sender(\linebreak sndr)} is ill-formed.
4772+
the expression \tcode{sync_wait_with_variant.apply_sender(sndr)} is ill-formed.
47734773
Otherwise, it is equivalent to:
47744774
\begin{codeblock}
47754775
using result_type = @\exposid{sync-wait-with-variant-result-type}@<Sndr>;
@@ -5009,7 +5009,7 @@
50095009
Let \tcode{Es} be a pack of the types in the \exposid{type-list} named by
50105010
\tcode{\exposid{gather-signatures}<set_error_t, InputSigna\-tures, type_identity_t, \exposid{error-list}>},
50115011
where \exposid{error-list} is an alias template
5012-
such that \tcode{\exposid{error-list}<\linebreak Ts...>} is
5012+
such that \tcode{\exposid{error-list}<Ts...>} is
50135013
\tcode{\exposid{type-list}<SetError<Ts>...>}.
50145014

50155015
\pnum

source/memory.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1261,7 +1261,7 @@
12611261
\begin{itemize}
12621262
\item
12631263
If \tcode{uses_allocator_v<remove_cv_t<T>, Alloc>} is \tcode{false} and
1264-
\tcode{is_constructible_v<T,\linebreak Args...>} is \tcode{true},
1264+
\tcode{is_constructible_v<T, Args...>} is \tcode{true},
12651265
return \tcode{forward_as_tuple(std::forward<Args>(args)...)}.
12661266
\item
12671267
Otherwise, if \tcode{uses_allocator_v<remove_cv_t<T>, Alloc>} is \tcode{true} and
@@ -4219,7 +4219,7 @@
42194219
the allocator \tcode{a} passed to \tcode{allocate_shared}.
42204220
\item
42214221
When a (sub)object of non-array type \tcode{U} is initialized by
4222-
\tcode{make_shared_for_overwrite} or\linebreak % avoid Overfull
4222+
\tcode{make_shared_for_overwrite} or
42234223
\tcode{allocate_shared_for_overwrite},
42244224
it is initialized via the expression \tcode{::new(pv) U},
42254225
where \tcode{pv} has type \tcode{void*} and
@@ -5454,7 +5454,7 @@
54545454
\end{codeblock}
54555455
if the expression
54565456
\tcode{s.reset(static_cast<SP>(p), std::forward<Args>(args)...)}
5457-
is well-\linebreak formed;
5457+
is well-formed;
54585458
\item
54595459
otherwise,
54605460
\begin{codeblock}

source/meta.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2201,7 +2201,7 @@
22012201
\item Let \tcode{R} be \tcode{\placeholdernc{COMMON-REF}(T1, T2)}.
22022202
If \tcode{T1} and \tcode{T2} are reference types,
22032203
\tcode{R} is well-formed, and
2204-
\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},
2204+
\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},
22052205
then the member typedef \tcode{type} denotes \tcode{R}.
22062206

22072207
\item Otherwise, if

source/numerics.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13797,7 +13797,7 @@
1379713797
\mandates
1379813798
Let \tcode{a} be
1379913799
\tcode{\exposid{abs-if-needed}(declval<typename InVec::value_type>())}.
13800-
Then, \tcode{decltype(\linebreak init + a * a} is convertible to \tcode{Scalar}.
13800+
Then, \tcode{decltype(init + a * a} is convertible to \tcode{Scalar}.
1380113801

1380213802
\pnum
1380313803
\returns
@@ -14003,7 +14003,7 @@
1400314003
\mandates
1400414004
Let \tcode{a} be
1400514005
\tcode{\exposid{abs-if-needed}(declval<typename InMat::value_type>())}.
14006-
Then, \tcode{decltype(\linebreak init + a * a)}
14006+
Then, \tcode{decltype(init + a * a)}
1400714007
is convertible to \tcode{Scalar}.
1400814008

1400914009
\pnum

0 commit comments

Comments
 (0)