Definition of util::enumerate()
.
More...
#include "larcorealg/CoreUtils/zip.h"
#include "larcorealg/CoreUtils/counter.h"
#include <utility>
#include <cstddef>
Go to the source code of this file.
Namespaces | |
util | |
Namespace for general, non-LArSoft-specific utilities. | |
Functions | |
Enumerated iterations | |
template<std::size_t Lead, typename... Iterables> | |
auto | util::enumerate (Iterables &&...iterables) |
Range-for loop helper tracking the number of iteration. More... | |
template<typename... Iterables> | |
auto | util::enumerate (Iterables &&...iterables) |
This version of enumerate implicitly uses the first iterable as lead. More... | |
Definition of util::enumerate()
.
This is a header-only library.
Definition in file enumerate.h.