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 <cstddef>
#include <cstdint>
#include <iterator>
#include <type_traits>
#include <utility>
+ Include dependency graph for enumerate.hpp:
+ This graph shows which files directly or indirectly include this file:

Namespaces

namespace  utils
 Utilities.
 

Functions

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