yfast 0.6.1
Loading...
Searching...
No Matches
yfast::fastmap< Key, Value, H, BitExtractor, Hash, Compare, ArbitraryAllocator >::const_iterator Class Reference

#include <fastmap.h>

Public Member Functions

 const_iterator (const const_iterator &other)=default
 const_iterator (const iterator &other)
const_iteratoroperator++ ()
const_iterator operator++ (int)
const_iteratoroperator-- ()
const_iterator operator-- (int)
const_reverse_iterator make_reverse () const

Friends

class fastmap

Detailed Description

template<typename Key, typename Value, unsigned int H, internal::BitExtractorGeneric< Key > BitExtractor = internal::BitExtractor<Key>, internal::MapGeneric< typename BitExtractor::ShiftResult, std::uintptr_t > Hash = internal::DefaultHash<typename BitExtractor::ShiftResult, std::uintptr_t>, typename Compare = std::less<Key>, typename ArbitraryAllocator = std::allocator<std::pair<Key, Value>>>
class yfast::fastmap< Key, Value, H, BitExtractor, Hash, Compare, ArbitraryAllocator >::const_iterator

const bidirectional forward iterator

Member Function Documentation

◆ make_reverse()

template<typename Key, typename Value, unsigned int H, internal::BitExtractorGeneric< Key > BitExtractor = internal::BitExtractor<Key>, internal::MapGeneric< typename BitExtractor::ShiftResult, std::uintptr_t > Hash = internal::DefaultHash<typename BitExtractor::ShiftResult, std::uintptr_t>, typename Compare = std::less<Key>, typename ArbitraryAllocator = std::allocator<std::pair<Key, Value>>>
const_reverse_iterator yfast::fastmap< Key, Value, H, BitExtractor, Hash, Compare, ArbitraryAllocator >::const_iterator::make_reverse ( ) const
inline

reverse iterator

Returns
const reverse iterator pointing to the same entry as --i (or crend() if i == cbegin())

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