# std::ranges::input_range

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

The input_range concept is a refinement of range for which ranges::begin returns a model of input_iterator.

## Official Specification Summary (cppreference)

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

template< class T >
concept input_range =
    ranges::range<T> && std::input_iterator<ranges::iterator_t<T>>; // (since C++20)
```

The `input_range` concept is a refinement of `range` for which `ranges::begin` returns a model of `input_iterator`.

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