Public Types | Static Private Member Functions | List of all members
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 234 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 240 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 241 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 236 of file ContainerMeta.h.

237  { using std::begin; return begin(coll); }
decltype(auto) constexpr begin(T &&obj)
ADL-aware version of std::begin.
Definition: StdUtils.h:72

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