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

#include <ordered-hash-map.h>

Public Member Functions

 reference_pair (const Key &key, Value &value)
 
template<typename K , typename V >
 operator std::pair< K, V > () const
 

Data Fields

const Keyfirst
 
Value & second
 

Constructor & Destructor Documentation

◆ reference_pair()

template<typename KeyId , typename Value , typename Traits >
ordered_hash_map< KeyId, Value, Traits >::iterator::reference_pair::reference_pair ( const Key & key,
Value & value )
inline

Member Function Documentation

◆ operator std::pair< K, V >()

template<typename KeyId , typename Value , typename Traits >
template<typename K , typename V >
ordered_hash_map< KeyId, Value, Traits >::iterator::reference_pair::operator std::pair< K, V > ( ) const
inline

Field Documentation

◆ first

template<typename KeyId , typename Value , typename Traits >
const Key& ordered_hash_map< KeyId, Value, Traits >::iterator::reference_pair::first

◆ second

template<typename KeyId , typename Value , typename Traits >
Value& ordered_hash_map< KeyId, Value, Traits >::iterator::reference_pair::second

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