# std::ranges::ContiguousRange

From cppreference.com
< cpp‎ | ranges

Defined in header `<ranges>` |  |
template<class T> concept ContiguousRange = RandomAccessRange<T> && ContiguousIterator<iterator_t<T>> && requires(T& t) { { ranges::data(t) } -> Same<std::add_pointer_t<iter_reference_t<iterator_t<T>>>>; }; |  |

The ContiguousRange concept is a refinement of `Range` for which ranges::begin returns a model of `ContiguousIterator` and the customization point ranges::data is usable.

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