All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces
values.h File Reference

Definition of util::values() and util::const_values(). More...

#include "larcorealg/CoreUtils/span.h"
#include "larcorealg/CoreUtils/get_elements.h"
#include <map>
#include <unordered_map>
#include <utility>
#include <tuple>
#include <type_traits>
#include <cstddef>

Go to the source code of this file.

Classes

struct  util::details::values_impl< Coll, typename >
 
struct  util::details::map_values_impl< Map, NElement >
 
struct  util::details::values_impl< std::map< Key, Value, Args...> >
 
struct  util::details::values_impl< std::unordered_map< Key, Value, Args...> >
 

Namespaces

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

Functions

Transformed iterations
template<typename Coll >
decltype(auto) util::values (Coll &&coll)
 Range-for loop helper iterating across the values of the specified collection. More...
 
template<typename Coll >
decltype(auto) util::const_values (Coll &&coll)
 Range-for loop helper iterating across the constant values of the specified collection. More...
 

Detailed Description

Definition of util::values() and util::const_values().

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

This is a header-only library.

Definition in file values.h.