std::ranges::CommonRange

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

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