Template Class lmap_iterator¶
- Defined in File local_hashmap.h
Class Documentation¶
-
template <typename LMap, typename T>
classlmap_iterator
: public std::iterator<std::forward_iterator_tag, T>¶ Public Types
-
template<>
usingvalue_type
= T¶
-
template<>
usingEntry
= typename LMap::Entry¶
-
template<>
usingState
= typename LMap::State¶
-
template<>
usingBucket
= typename LMap::Bucket¶
Public Functions
-
lmap_iterator
()¶
-
lmap_iterator
(const LMap *mapPtr, size_t bId, size_t pos, Bucket *cb, Entry *ePtr)¶
-
bool
operator==
(const lmap_iterator &other) const¶
-
bool
operator!=
(const lmap_iterator &other) const¶
-
T
operator*
() const¶
-
lmap_iterator &
operator++
()¶
-
lmap_iterator
operator++
(int)¶
Public Static Functions
-
static lmap_iterator
lmap_begin
(const LMap *mapPtr)¶
-
static lmap_iterator
lmap_end
(const LMap *mapPtr)¶
-
static lmap_iterator
lmap_end
(size_t numBuckets)¶
-
static std::vector<partition_range>
partitions
(lmap_iterator begin, lmap_iterator end, size_t n_parts)¶
-
class
partition_range
¶
-
template<>