Classes | Namespaces
get_elements.h File Reference

Definition of util::get_elements() and util::get_const_elements(). More...

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

Go to the source code of this file.

Classes

struct  util::details::get_elements_impl< Coll, First, Others >
 

Namespaces

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

Functions

Transformed iterations
template<std::size_t... Indices, typename Coll >
decltype(auto) util::get_elements (Coll &&coll)
 Range-for loop helper iterating across some of the element of each value in the specified collection. More...
 
template<std::size_t... Indices, typename Coll >
decltype(auto) util::get_const_elements (Coll &&coll)
 Range-for loop helper iterating across the constant values of the specified collection. More...
 

Detailed Description

Definition of util::get_elements() and util::get_const_elements().

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

This is a header-only library.

Definition in file get_elements.h.