# std::ranges::CommonRange

From cppreference.com
< cpp‎ | ranges

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

Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/ranges/CommonRange&oldid=109716"