# deduction guides for std::ranges::chunk_by_view

> C++ Atlas: `cppatlas.com/w/cpp/ranges/chunk_by_view/deduction_guides` | Source: https://en.cppreference.com/w/cpp/ranges/chunk_by_view/deduction_guides | Domain: Ranges | Standards: C++23

The deduction guide is provided for std::ranges::chunk_by_view to allow deduction from range and predicate function.

## Official Specification Summary (cppreference)

```cpp
template< class R, class Pred >
chunk_by_view( R&&, Pred ) -> chunk_by_view<views::all_t<R>, Pred>; // (since C++23)
```

The deduction guide is provided for `std::ranges::chunk_by_view` to allow deduction from `range` and predicate function.

### Example

> Note: This section is incomplete Reason: no example

---
Attribution: content from https://en.cppreference.com/w/cpp/ranges/chunk_by_view/deduction_guides (cppreference.com), licensed under CC-BY-SA 3.0 and GFDL. Modified: converted to markdown, study notes added. Offline snapshot of 9 February 2025.