LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
Definition of util::enumerate()
.
More...
#include "larcorealg/CoreUtils/counter.h"
#include "larcorealg/CoreUtils/zip.h"
#include <cstddef>
#include <utility>
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.