Created on 2022-06-03.00:00:00 last changed 13 months ago
Proposed resolution:
This wording is relative to N4910.
Modify [range.take.while.sentinel] as indicated:
constexpr sentinel(sentinel<!Const> s) requires Const && convertible_to<sentinel_t<V>, sentinel_t<Base>>;-2- Effects: Initializes end_ with std::move(s.end_) and pred_ with s.pred_.
[ 2022-07-25 Approved at July 2022 virtual plenary. Status changed: Ready → WP. ]
[ 2022-07-15; LWG telecon: move to Ready ]
[ 2022-06-21; Reflector poll ]
Set status to Tentatively Ready after seven votes in favour during reflector poll.
The conversion constructor of take_while_view::sentinel requires sentinel_t<V> must satisfy convertible_to<sentinel_t<Base>>, which indicates that the rvalue reference of sentinel_t<V> can be converted to sentinel_t<Base>, but in the Effects element, we assign the lvalue s.end_ to end_.
History | |||
---|---|---|---|
Date | User | Action | Args |
2023-11-22 15:47:43 | admin | set | status: wp -> c++23 |
2022-07-25 20:32:58 | admin | set | messages: + msg12649 |
2022-07-25 20:32:58 | admin | set | status: ready -> wp |
2022-07-25 20:28:19 | admin | set | messages: + msg12623 |
2022-06-21 11:47:28 | admin | set | messages: + msg12519 |
2022-06-21 11:47:28 | admin | set | status: new -> ready |
2022-06-05 07:51:23 | admin | set | messages: + msg12487 |
2022-06-03 00:00:00 | admin | create |