std::ranges::CommonRange (3) - Linux Manuals

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

NAME

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).