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.
AFAIK there's no difference in effect, because views::all_t
only accepts a viewable_range
.
Can they be declared in a more similar way?
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4