Range-v3
Range algorithms, views, and actions for the Standard Library
ranges::view::enumerate_fn Struct Reference

Description

Lazily pairs each element in a source range with its corresponding index.

Synopsis of methods

constexpr view< enumerate_fnenumerate {}
 

Public Member Functions

template<typename Rng >
auto operator() (Rng &&rng) const requires ViewableRange< Rng >