Skip to content

Commit 801c8ca

Browse files
burblebeetkoeppe
authored andcommitted
LWG4082 views::concat(r) is well-formed when r is an output_range
1 parent bd4f125 commit 801c8ca

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/ranges.tex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8474,7 +8474,8 @@
84748474
Given a pack of subexpressions \tcode{Es...},
84758475
the expression \tcode{views::concat(Es...)} is expression-equivalent to
84768476
\begin{itemize}
8477-
\item \tcode{views::all(Es...)} if \tcode{Es} is a pack with only one element,
8477+
\item \tcode{views::all(Es...)} if \tcode{Es} is a pack with only one element
8478+
whose type models \libconcept{input_range},
84788479
\item otherwise, \tcode{concat_view(Es...)}.
84798480
\end{itemize}
84808481
\begin{example}

0 commit comments

Comments
 (0)