Skip to content

Commit aa0fd28

Browse files
committed
Tweak linebreaks to keep long expression together.
Add a linebreak after a 'then' to keep the ternary expression that follows on a single line.
1 parent cab0b4c commit aa0fd28

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

source/ranges.tex

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5900,8 +5900,8 @@
59005900

59015901
\item
59025902
Otherwise, if \tcode{T} is a specialization of
5903-
\tcode{optional} and \tcode{T} models \tcode{view},
5904-
then \tcode{(static_cast<D>(F) == D() ? ((void)E, T()) : \placeholdernc{decay-copy}(E))}.
5903+
\tcode{optional} and \tcode{T} models \tcode{view}, then \linebreak{}
5904+
\tcode{(static_cast<D>(F) == D() ? ((void)E, T()) : \placeholdernc{decay-copy}(E))}.
59055905
\item
59065906
Otherwise, if \tcode{T} models
59075907
\libconcept{random_access_range} and \libconcept{sized_range}
@@ -6384,11 +6384,10 @@
63846384
then \tcode{((void)F, \exposidnc{decay-copy}(E))},
63856385
except that the evaluations of \tcode{E} and \tcode{F}
63866386
are indeterminately sequenced.
6387-
63886387
\item
63896388
Otherwise, if \tcode{T} is a specialization of \tcode{optional}
6390-
and \tcode{T} models \tcode{view},
6391-
then \tcode{(static_cast<D>(F) == D() ? \placeholdernc{decay-copy}(E) : ((void)E, T()))}.
6389+
and \tcode{T} models \tcode{view}, then \linebreak{}
6390+
\tcode{(static_cast<D>(F) == D() ? \placeholdernc{decay-copy}(E) : ((void)E, T()))}.
63926391
\item
63936392
Otherwise, if \tcode{T} models
63946393
\libconcept{random_access_range} and \libconcept{sized_range}

0 commit comments

Comments
 (0)