Skip to content

Commit

Permalink
[libc++][NFC] Fix typo in ranges::iterator_t synopsis
Browse files Browse the repository at this point in the history
The `iterator_t` alias template is on `T` not a `R` like the other
neighboring alias templates. Fix the typo.
  • Loading branch information
JoeLoser committed Nov 21, 2021
1 parent e74114a commit dca681f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libcxx/include/ranges
Expand Up @@ -36,7 +36,7 @@ namespace std::ranges {
inline constexpr bool enable_borrowed_range = false;
template<class T>
using iterator_t = decltype(ranges::begin(declval<R&>()));
using iterator_t = decltype(ranges::begin(declval<T&>()));
template<range R>
using sentinel_t = decltype(ranges::end(declval<R&>()));
template<range R>
Expand Down

0 comments on commit dca681f

Please sign in to comment.