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>
Namespaces | |
namespace | utils |
Utilities. | |
Functions | |
template<typename Container > | |
constexpr auto | utils::enumerate (Container &&iterable) |
Implementation of python-style enumerate function for range-for loops. | |