LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
Provides util::makeValueIndex()
helper function.
More...
#include "larcorealg/CoreUtils/DebugUtils.h"
#include "larcorealg/CoreUtils/enumerate.h"
#include "larcorealg/CoreUtils/fromFutureImport.h"
#include <cstddef>
#include <map>
#include <stdexcept>
#include <string>
#include <type_traits>
Go to the source code of this file.
Namespaces | |
util | |
Namespace for general, non-LArSoft-specific utilities. | |
Functions | |
template<typename Coll , typename Extractor > | |
decltype(auto) | util::makeValueIndex (Coll const &coll, Extractor getter) |
Returns a map of value to index. More... | |
template<typename Coll > | |
auto | util::makeValueIndex (Coll const &coll) |
Provides util::makeValueIndex()
helper function.
This is a header-only library.
This utility belongs to the same cetegory as util::MakeIndex()
, but that one is definded in lardataalg
and we need this one for geometry.
Definition in file makeValueIndex.h.