Created on 2023-06-13.00:00:00 last changed 2 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 […]
[ 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-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 |