DASH  0.3.0
dash::IteratorRange< Iterator, Sentinel > Class Template Reference

Adapter template for range concept, wraps begin and end iterators in range type. More...

#include <Range.h>

Public Types

typedef Iterator iterator
 
typedef Sentinel sentinel
 
typedef dash::default_index_t index_type
 
typedef iterator::pattern_type pattern_type
 
typedef dash::IndexSetIdentity< self_tindex_set_type
 
typedef iterator::value_type value_type
 
typedef std::conditional< std::is_pointer< iterator >::value, iterator, typename iterator::local_type >::type local_iterator
 
typedef std::conditional< std::is_pointer< sentinel >::value, iterator, typename sentinel::local_type >::type local_sentinel
 
typedef IteratorRange< local_iterator, local_sentinel > local_type
 

Public Member Functions

template<class Container >
constexpr IteratorRange (Container &&c)
 
constexpr IteratorRange (iterator &begin, sentinel &end)
 
constexpr iterator begin () const
 
constexpr iterator end () const
 
constexpr const local_type local () const
 
constexpr const pattern_type & pattern () const
 
constexpr index_set_type index_set () const
 

Detailed Description

template<typename Iterator, typename Sentinel>
class dash::IteratorRange< Iterator, Sentinel >

Adapter template for range concept, wraps begin and end iterators in range type.

Definition at line 304 of file Range.h.


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