SysTutorials

Linux Manual Pages › Section 3

stdrangescommonrange(3)

std::ranges::CommonRange - std::ranges::CommonRange

Synopsis

Defined in header <ranges>
template<class T>
concept CommonRange = Range<T> && Same<iterator_t<T>, sentinel_t<T>>;

The CommonRange concept is a refinement of Range for which ranges::begin and ranges::end return the same type (e.g. all standard library containers).