std::experimental::ranges::View - cppreference.com (original) (raw)

| Defined in header <experimental/ranges/range> | | | | -------------------------------------------------------------------------------------------------------------------------------------- | | ----------- | | template< class T >concept bool View = Range<T> && Semiregular<T> && /* view-predicate */; | | (ranges TS) | | template< class T > struct enable_view {}; | | (ranges TS) | | 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 */ portion of the concept is determined as follows: