Lazily pairs each element in a source range with its corresponding index. More...
#include <range/v3/view/enumerate.hpp>
Public Member Functions | |
template<typename Rng > requires viewable_range<Rng> | |
auto | operator() (Rng &&rng) const |
Related Functions | |
(Note that these are not member functions.) | |
constexpr view_closure< enumerate_fn > | enumerate {} |
Lazily pairs each element in a source range with its corresponding index.