9 #ifndef LARCOREALG_COREUTILS_CONTAINERMETA_H 10 #define LARCOREALG_COREUTILS_CONTAINERMETA_H 57 template <
typename Coll>
59 using type =
typename Coll::value_type;
64 template <
typename Coll>
70 template <
typename Coll>
76 using type = decltype(*getBegin(std::declval<Coll>()));
82 template <
typename Coll>
89 template <
typename Coll>
93 {
using std::cbegin;
return cbegin(coll); }
96 using type = decltype(*getCBegin(std::declval<Coll>()));
102 template <
typename Coll>
116 #endif // LARCOREALG_COREUTILS_CONTAINERMETA_H
Namespace for general, non-LArSoft-specific utilities.
Trait of type obtained by constant access to element of collection Coll.
decltype(*getBegin(std::declval< Coll >())) type
Trait of type obtained by access to element of collection Coll.
collection_value_t< Coll > value_type
collection_value_t< Coll > value_type
decltype(*getCBegin(std::declval< Coll >())) type
std::vector< evd::details::RawDigitInfo_t >::const_iterator begin(RawDigitCacheDataClass const &cache)
typename Coll::value_type type
static auto getBegin(Coll &&coll)
static auto getCBegin(Coll &&coll)
Trait of value contained in the template collection Coll.