GCC Middle and Back End API Reference
hash_map< KeyId, Value, Traits >::iterator Class Reference

#include <hash-map.h>

Collaboration diagram for hash_map< KeyId, Value, Traits >::iterator:

Data Structures

class  reference_pair
 

Public Member Functions

 iterator (const typename hash_table< hash_entry >::iterator &iter)
 
iteratoroperator++ ()
 
reference_pair operator* ()
 
bool operator== (const iterator &other) const
 
bool operator!= (const iterator &other) const
 

Private Attributes

hash_table< hash_entry >::iterator m_iter
 

Constructor & Destructor Documentation

◆ iterator()

template<typename KeyId , typename Value , typename Traits >
hash_map< KeyId, Value, Traits >::iterator::iterator ( const typename hash_table< hash_entry >::iterator & iter)
inlineexplicit

Member Function Documentation

◆ operator!=()

template<typename KeyId , typename Value , typename Traits >
bool hash_map< KeyId, Value, Traits >::iterator::operator!= ( const iterator & other) const
inline

◆ operator*()

template<typename KeyId , typename Value , typename Traits >
reference_pair hash_map< KeyId, Value, Traits >::iterator::operator* ( )
inline

◆ operator++()

template<typename KeyId , typename Value , typename Traits >
iterator & hash_map< KeyId, Value, Traits >::iterator::operator++ ( )
inline

◆ operator==()

template<typename KeyId , typename Value , typename Traits >
bool hash_map< KeyId, Value, Traits >::iterator::operator== ( const iterator & other) const
inline

Field Documentation

◆ m_iter

template<typename KeyId , typename Value , typename Traits >
hash_table<hash_entry>::iterator hash_map< KeyId, Value, Traits >::iterator::m_iter
private

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