LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
zip.h File Reference

Definition of util::zip(). More...

#include "larcorealg/CoreUtils/span.h"
#include <cstddef>
#include <iterator>
#include <tuple>
#include <type_traits>
#include <utility>

Go to the source code of this file.

Classes

class  util::details::zip_iterator< Lead, Iters >
 
class  util::details::zip_iterator< Lead >
 

Namespaces

 util
 Namespace for general, non-LArSoft-specific utilities.
 
 util::details
 

Functions

template<std::size_t Lead, typename... Iterables>
auto util::details::make_zip_begin_iterator (Iterables &&...iterables)
 
template<std::size_t Lead, typename... Iterables>
auto util::details::make_zip_end_iterator (Iterables &&...iterables)
 
Parallel iterations
template<std::size_t Lead, typename... Iterables>
auto util::zip (Iterables &&...iterables)
 Range-for loop helper iterating across many collections at the same time. More...
 
template<typename... Iterables>
auto util::zip (Iterables &&...iterables)
 Version of zip() with first iterator implicitly leading the iteration. More...
 

Detailed Description

Definition of util::zip().

Author
Gianluca Petrillo (petri.nosp@m.llo@.nosp@m.slac..nosp@m.stan.nosp@m.ford..nosp@m.edu)
Date
April 14, 2019

This is a header-only library.

Definition in file zip.h.