# deduction guides for std::ranges::stride_view

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

The deduction guide is provided for std::ranges::stride_view to allow deduction from range and number of elements.

## Official Specification Summary (cppreference)

```cpp
// Defined in header <ranges>

template< class R >
stride_view( R&&, ranges::range_difference_t<R> ) -> stride_view<views::all_t<R>>; // (since C++23)
```

The deduction guide is provided for `std::ranges::stride_view` to allow deduction from `range` and number of elements.

### Example

> Note: This section is incomplete Reason: no example

---
Attribution: content from https://en.cppreference.com/w/cpp/ranges/stride_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.