deduction guides for std::ranges::drop_view
From cppreference.com
C++
Ranges library
| ||||||||||||||||||||||
| Range primitives | |||||||
| |||||||
| Range concepts | |||||||||||||||||||
| |||||||||||||||||||
| Range factories | |||||||||
| |||||||||
| Range adaptors | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||
| Helper items | |||||||||||||||||
| |||||||||||||||||
std::ranges::drop_view
| Member functions | ||||
(C++26) | ||||
| Deduction guides |
| Defined in header <ranges>
|
||
| template< class R > drop_view( R&&, ranges::range_difference_t<R> ) -> drop_view<views::all_t<R>>; |
(since C++20) | |
The deduction guide is provided for std::ranges::drop_view to allow deduction from range and number of elements.
[edit] Example
| This section is incomplete Reason: no example |