Created on 2020-01-07.00:00:00 last changed 45 months ago
Proposed resolution:
This wording is relative to N4842.
Modify [range.take.while.view] as follows:
class take_while_view : public view_interface<take_while_view<V, Pred>> { template<bool> class sentinel; // exposition only V base_ = V(); // exposition only semiregular-box<Pred> pred_; // exposition only public:
Modify [range.drop.view] as follows:
private: V base_ = V(); // exposition only range_difference_t<V> count_ = 0; // exposition only };
Modify [range.drop.while.view] as follows:
private: V base_ = V(); // exposition only semiregular-box<Pred> pred_; // exposition only };
Modify [range.elements.iterator] as follows:
class elements_view<V, N>::iterator { // exposition only using base-t = conditional_t<Const, const V, V>; friend iterator<!Const>; iterator_t<base-t> current_ = iterator_t<base-t>(); public:
[ 2020-01-14 Status set to Tentatively Ready after five positive votes on the reflector. ]
Before P1035 was accepted, no data member in [ranges] whose type could potentially be an aggregate or fundamental type was left without initializer. P1035 left some such data members without initializer, so it is possible to have them have indeterminate values. We propose restoring consistency.
History | |||
---|---|---|---|
Date | User | Action | Args |
2021-02-25 10:48:01 | admin | set | status: wp -> c++20 |
2020-02-24 16:02:59 | admin | set | status: immediate -> wp |
2020-02-14 06:37:09 | admin | set | status: ready -> immediate |
2020-01-14 11:58:48 | admin | set | messages: + msg10928 |
2020-01-14 11:58:48 | admin | set | status: new -> ready |
2020-01-07 15:44:42 | admin | set | messages: + msg10918 |
2020-01-07 00:00:00 | admin | create |