Skip to content

Search topics & cppreference

Search all study topics, concept maps, and 6,587 C++ and C reference pages.

std::experimental::ranges::Range

Given an lvalue t of type std::remove_reference_t<T>, Range<T> is satisfied only if

NotebookLM
Defined in header <experimental/ranges/range>
template< class T >
concept bool Range =
    requires(T&& t) {
        ranges::begin(t); /* not necessarily equality-preserving (see below) */
        ranges::end(t);
    };
(ranges TS)

Given an lvalue t of type std::remove_reference_t<T>, Range<T> is satisfied only if

Content from this page on cppreference.com, licensed under CC-BY-SA 3.0 and GFDL. Modified: restyled, site navigation removed, code windows added. Offline snapshot of 9 February 2025.