std::ranges::input_range(3)

πŸ“¦
version 2024.07.05 Β· 3 versions
, in nixpkgs unstable, opensuse-leap 16.0

🌸 NAME 🌸

hey bestie, welcome to the C++ Standard Libary (section 3) page for std::ranges::input_range β€” yes, the manual name is folded in right up top, we are not copying the header line, we're too chic for that πŸ’…

  • std::ranges::input_range β€” std::ranges::input_range (that's the name, bestie, it's giving "I contain multitudes but also I'm literally just my name" πŸ‘‘)

✨ Synopsis ✨

Defined in header <ranges>:

template< class T >

  concept input_range =
(since C++20)

    ranges::range<T> && std::input_iterator<ranges::iterator_t<T>>;

The input_range concept is a refinement of range for which ranges::begin returns a model of input_iterator. That's the vibe check: it's a range glow-up where ranges::begin hands you a model of input_iterator, fr fr πŸ¦‹


periodt, that's the whole page. no cap, no extra flags, no secret bonus lore β€” just the concept and its constraints 😭
xoxo, your local C++ bestie πŸ’– β€” source/version: cppreference.com, 2024.06.10, page std::ranges::input_range(3) πŸŽ€
πŸ“¦ where this page comes from