Created on 2020-05-15.00:00:00 last changed 12 months ago
Proposed resolution:
This wording is relative to N4861.
Modify [range.take.view], class template take_view synopsis, as indicated:
[…] template<rangeclass R> take_view(R&&, range_difference_t<R>) -> take_view<views::all_t<R>>; […]
[ 2020-11-09 Approved In November virtual meeting. Status changed: Ready → WP. ]
[ 2020-07-17; Moved to Ready in telecon ]
From this editorial issue request:
(Note "range R" vs "class R".) In [range.take.view], the deduction guide for take_view is declared as:template<range R> take_view(R&&, range_difference_t<R>) -> take_view<views::all_t<R>>;
In [range.drop.view], the deduction guide for drop_view is declared as:
template<class R> drop_view(R&&, range_difference_t<R>) -> drop_view<views::all_t<R>>;
Note the difference between their template parameter lists.
Suggested resolution: Change the deduction guide of take_view fromtemplate<range R>
to
template<class R>
History | |||
---|---|---|---|
Date | User | Action | Args |
2023-11-22 15:47:43 | admin | set | status: wp -> c++23 |
2020-11-09 20:31:48 | admin | set | messages: + msg11548 |
2020-11-09 20:31:48 | admin | set | status: ready -> wp |
2020-07-17 22:37:26 | admin | set | messages: + msg11394 |
2020-07-17 22:37:26 | admin | set | status: new -> ready |
2020-05-16 18:30:26 | admin | set | messages: + msg11307 |
2020-05-15 00:00:00 | admin | create |