userver: userver/utils/enumerate.hpp File Reference
Loading...
Searching...
No Matches
enumerate.hpp File Reference

Detailed Description

Implementation of python-style enumerate function for range-for loops.

Definition in file enumerate.hpp.

Go to the source code of this file.

#include <tuple>
#include <utility>
+ Include dependency graph for enumerate.hpp:

Namespaces

namespace  utils
 Utilities.
 

Functions

template<typename Container >
constexpr auto utils::enumerate (Container &&iterable)
 Implementation of python-style enumerate function for range-for loops.