views::chunk's range adaptor object type (non-closure). More...
#include <seqan3/utility/views/chunk.hpp>
Public Member Functions | |
constexpr auto | operator() (std::ptrdiff_t const chunk_size) const |
Store the chunk_size and return a range adaptor closure object. | |
template<std::ranges::range urng_t> | |
constexpr auto | operator() (urng_t &&urange, std::ranges::range_difference_t< urng_t > const chunk_size) const |
Call the view's constructor with the underlying range and a chunk_size as argument. More... | |
views::chunk's range adaptor object type (non-closure).
|
inlineconstexpr |
Call the view's constructor with the underlying range and a chunk_size as argument.
[in] | urange | The range to process. Must model std::ranges::input_range. |
[in] | chunk_size | The chunk size, e.g. the length of the subrange returned by this iterator. |