Public Types | Static Public Member Functions | List of all members
lar::details::RangeTraits< Range > Struct Template Reference

#include <CollectionView.h>

Public Types

using range_t = Range
 
using traits_t = RangeTraits< range_t >
 
using begin_iterator_t = std::decay_t< decltype(traits_t::getCBegin(std::declval< range_t >()))>
 
using end_iterator_t = std::decay_t< decltype(traits_t::getCEnd(std::declval< range_t >()))>
 

Static Public Member Functions

static auto getCBegin (range_t const &range)
 
static auto getCEnd (range_t const &range)
 

Detailed Description

template<typename Range>
struct lar::details::RangeTraits< Range >

Definition at line 105 of file CollectionView.h.

Member Typedef Documentation

template<typename Range >
using lar::details::RangeTraits< Range >::begin_iterator_t = std::decay_t<decltype(traits_t::getCBegin(std::declval<range_t>()))>

Definition at line 113 of file CollectionView.h.

template<typename Range >
using lar::details::RangeTraits< Range >::end_iterator_t = std::decay_t<decltype(traits_t::getCEnd(std::declval<range_t>()))>

Definition at line 115 of file CollectionView.h.

template<typename Range >
using lar::details::RangeTraits< Range >::range_t = Range

Definition at line 106 of file CollectionView.h.

template<typename Range >
using lar::details::RangeTraits< Range >::traits_t = RangeTraits<range_t>

Definition at line 107 of file CollectionView.h.

Member Function Documentation

template<typename Range >
static auto lar::details::RangeTraits< Range >::getCBegin ( range_t const &  range)
inlinestatic

Definition at line 108 of file CollectionView.h.

109  { using std::cbegin; return cbegin(range); }
decltype(auto) constexpr cbegin(T &&obj)
ADL-aware version of std::cbegin.
Definition: StdUtils.h:82
template<typename Range >
static auto lar::details::RangeTraits< Range >::getCEnd ( range_t const &  range)
inlinestatic

Definition at line 110 of file CollectionView.h.

111  { using std::cend; return cend(range); }
decltype(auto) constexpr cend(T &&obj)
ADL-aware version of std::cend.
Definition: StdUtils.h:87

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