We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 765a692 commit 16c66adCopy full SHA for 16c66ad
source/ranges.tex
@@ -65,9 +65,9 @@
65
template<@\libconcept{range}@ R>
66
using sentinel_t = decltype(ranges::end(declval<R&>())); // freestanding
67
68
- using const_iterator_t = const_iterator<iterator_t<R>>; // freestanding
+ using const_iterator_t = decltype(ranges::cbegin(declval<R&>())); // freestanding
69
70
- using const_sentinel_t = const_sentinel<sentinel_t<R>>; // freestanding
+ using const_sentinel_t = decltype(ranges::cend(declval<R&>())); // freestanding
71
72
using range_difference_t = iter_difference_t<iterator_t<R>>; // freestanding
73
template<@\libconcept{sized_range}@ R>
0 commit comments