W3cubDocs

/C++

deduction guides for std::ranges::chunk_view

Defined in header <ranges>
template< class R >
chunk_view( R&&, ranges::range_difference_t<R> ) -> chunk_view<views::all_t<R>>;
(since C++23)

The deduction guide is provided for ranges::chunk_view only if V models the input_range. This guide allows deduction from range and number of elements.

Example

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/ranges/chunk_view/deduction_guides