Skip to content

Commit 02ebb01

Browse files
burblebeetkoeppe
authored andcommitted
LWG4096 views::iota(views::iota(0)) should be rejected
1 parent 78c13ca commit 02ebb01

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
@@ -2663,7 +2663,8 @@
26632663
Given subexpressions \tcode{E} and \tcode{F}, the expressions
26642664
\tcode{views::iota(E)} and \tcode{views::iota(E, F)}
26652665
are expression-equivalent to
2666-
\tcode{iota_view(E)} and \tcode{iota_view(E, F)}, respectively.
2666+
\tcode{iota_view<decay_t<decltype((E))>>(E)} and \tcode{iota_view(E, F)},
2667+
respectively.
26672668

26682669
\pnum
26692670
\begin{example}

0 commit comments

Comments
 (0)