LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
util::details::collection_value_access_type_impl< Coll, typename > Struct Template Reference

#include "ContainerMeta.h"

Public Types

using type = decltype(*getBegin(std::declval< Coll >()))
 
using value_type = collection_value_t< Coll >
 

Static Private Member Functions

static auto getBegin (Coll &&coll)
 

Detailed Description

template<typename Coll, typename = void>
struct util::details::collection_value_access_type_impl< Coll, typename >

Definition at line 215 of file ContainerMeta.h.

Member Typedef Documentation

template<typename Coll, typename = void>
using util::details::collection_value_access_type_impl< Coll, typename >::type = decltype(*getBegin(std::declval<Coll>()))

Definition at line 224 of file ContainerMeta.h.

template<typename Coll, typename = void>
using util::details::collection_value_access_type_impl< Coll, typename >::value_type = collection_value_t<Coll>

Definition at line 225 of file ContainerMeta.h.

Member Function Documentation

template<typename Coll, typename = void>
static auto util::details::collection_value_access_type_impl< Coll, typename >::getBegin ( Coll &&  coll)
inlinestaticprivate

Definition at line 217 of file ContainerMeta.h.

218  {
219  using std::begin;
220  return begin(coll);
221  }
decltype(auto) constexpr begin(T &&obj)
ADL-aware version of std::begin.
Definition: StdUtils.h:69

The documentation for this struct was generated from the following file: