Skip to content

Commit dd635cb

Browse files
burblebeetkoeppe
authored andcommitted
LWG3733 ranges::to misuses cpp17-input-iterator
1 parent 9505870 commit dd635cb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

source/ranges.tex

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2298,7 +2298,10 @@
22982298
\item
22992299
\tcode{\libconcept{common_range}<R>} is \tcode{true},
23002300
\item
2301-
\tcode{\exposconcept{cpp17-input-iterator}<iterator_t<R>>} is \tcode{true}, and
2301+
if the \grammarterm{qualified-id}
2302+
\tcode{iterator_traits<iterator_t<R>>::iterator_category}
2303+
is valid and denotes a type that models
2304+
\tcode{\libconcept{derived_from}<input_iterator_tag>}, and
23022305
\item
23032306
\tcode{\libconcept{constructible_from}<C, iterator_t<R>, sentinel_t<R>, Args...>}
23042307
is \tcode{true}:

0 commit comments

Comments
 (0)