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

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

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

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.