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

#include <fastmap.h>

Public Member Functions

 iterator (const iterator &other)=default
iteratoroperator++ ()
iterator operator++ (int)
iteratoroperator-- ()
iterator operator-- (int)
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 >::iterator

mutable 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>>>
reverse_iterator yfast::fastmap< Key, Value, H, BitExtractor, Hash, Compare, ArbitraryAllocator >::iterator::make_reverse ( ) const
inline

reverse iterator

Returns
reverse iterator pointing to the same entry as --i (or rend() if i == begin())

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