Created on 2023-06-13.00:00:00 last changed 13 months ago
Proposed resolution:
This wording is relative to N4950.
Modify [ranges.syn], header <ranges> synopsis, as indicated:
[…] template<range R> using const_iterator_t = decltype(ranges::cbegin(declval<R&>()))const_iterator<iterator_t<R>>; // freestanding template<range R> using const_sentinel_t = decltype(ranges::cend(declval<R&>()))const_sentinel<sentinel_t<R>>; // freestanding […]
[ 2023-11-11 Approved at November 2023 meeting in Kona. Status changed: Voting → WP. ]
[ Varna 2023-06-14; Move to Ready ]
During the reflector discussion of P2836, consensus was reached that const_iterator_t<R> doesn't necessarily provide the same type as decltype(ranges::cbegin(r)), and that it should be changed to the proposed resolution below so that they're consistent.
History | |||
---|---|---|---|
Date | User | Action | Args |
2023-11-13 14:08:10 | admin | set | messages: + msg13842 |
2023-11-13 14:08:10 | admin | set | status: voting -> wp |
2023-11-07 21:41:54 | admin | set | status: ready -> voting |
2023-06-26 21:51:28 | admin | set | messages: + msg13672 |
2023-06-26 21:51:28 | admin | set | status: new -> ready |
2023-06-13 20:00:41 | admin | set | messages: + msg13629 |
2023-06-13 00:00:00 | admin | create |