SysTutorials

Linux Manual Pages › Section 3

stdexperimentalrangesview(3)

std::experimental::ranges::View - std::experimental::ranges::View

Synopsis

Defined in header<experimental / ranges / range>
    template <class T>
    concept bool View = Range<T> && Semiregular<T>(ranges TS)
                                        && /* view-predicate<T> */;
template <class T>
(ranges TS)
    struct enable_view {
};
struct view_base {
};
(ranges TS)

The concept View<T> specifies the semiregular range T has constant-time copy, move, and assignment operations. The /* view-predicate<T> */ portion of the concept is determined as follows: