# deduction guides for std::ranges::drop_while_view

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

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

## Official Specification Summary (cppreference)

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

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

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

### Example

> Note: This section is incomplete Reason: no example

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