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

#include <ordered-hash-map.h>

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

Data Structures

struct  reference_pair
 

Public Member Functions

 iterator (const ordered_hash_map &map, unsigned idx)
 
iteratoroperator++ ()
 
reference_pair operator* ()
 
bool operator!= (const iterator &other) const
 
bool valid_index_p () const
 

Data Fields

const ordered_hash_mapm_ordered_hash_map
 
unsigned m_idx
 

Constructor & Destructor Documentation

◆ iterator()

template<typename KeyId , typename Value , typename Traits >
ordered_hash_map< KeyId, Value, Traits >::iterator::iterator ( const ordered_hash_map & map,
unsigned idx )
inlineexplicit

Member Function Documentation

◆ operator!=()

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

◆ operator*()

◆ operator++()

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

◆ valid_index_p()

Field Documentation

◆ m_idx

◆ m_ordered_hash_map

template<typename KeyId , typename Value , typename Traits >
const ordered_hash_map& ordered_hash_map< KeyId, Value, Traits >::iterator::m_ordered_hash_map

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