W3cubDocs

/C++

std::ranges::forward_range

Defined in header <ranges>
template< class T >
  concept forward_range =
    ranges::input_range<T> && std::forward_iterator<ranges::iterator_t<T>>;
(since C++20)

The forward_range concept is a refinement of range for which ranges::begin returns a model of forward_iterator.

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/ranges/forward_range