Skip to content

Commit 25e39c4

Browse files
burblebeetkoeppe
authored andcommitted
LWG4053 Unary call to std::views::repeat does not decay the argument
1 parent 99b3b24 commit 25e39c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/ranges.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3476,8 +3476,8 @@
34763476
constexpr auto size() const requires (!@\libconcept{same_as}@<Bound, unreachable_sentinel_t>);
34773477
};
34783478

3479-
template<class T, class Bound>
3480-
repeat_view(T, Bound) -> repeat_view<T, Bound>;
3479+
template<class T, class Bound = unreachable_sentinel_t>
3480+
repeat_view(T, Bound = Bound()) -> repeat_view<T, Bound>;
34813481
}
34823482
\end{codeblock}
34833483

0 commit comments

Comments
 (0)