This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of WP status.
Section: 22.214.171.124 [range.take.view] Status: WP Submitter: Jens Maurer Opened: 2020-05-15 Last modified: 2020-11-15
View all other issues in [range.take.view].
View all issues with WP status.
From this editorial issue request:(Note "range R" vs "class R".) In 126.96.36.199 [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 188.8.131.52 [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 from
[2020-07-17; Moved to Ready in telecon]
[2020-11-09 Approved In November virtual meeting. Status changed: Ready → WP.]
This wording is relative to N4861.
Modify 184.108.40.206 [range.take.view], class template take_view synopsis, as indicated:
rangeR> take_view(R&&, range_difference_t<R>) -> take_view<views::all_t<R>>; […]