Namespaces
Variants

deduction guides for std::ranges::chunk_by_view

From cppreference.net
Ranges library
Range adaptors
template < class R, class Pred >
chunk_by_view ( R && , Pred ) - > chunk_by_view < views:: all_t < R > , Pred > ;
(C++23 起)

std::ranges::chunk_by_view 提供了 推导指引 ,允许从 range 和谓词函数进行推导。

示例