GCC Middle and Back End API Reference
simple_cache_map_traits< H, Value > Struct Template Reference

#include <hash-map-traits.h>

Inheritance diagram for simple_cache_map_traits< H, Value >:
Collaboration diagram for simple_cache_map_traits< H, Value >:

Public Types

typedef H::value_type key_type
 

Static Public Member Functions

static hashval_t hash (const key_type &)
 
static bool equal_keys (const key_type &, const key_type &)
 
template<typename T >
static void remove (T &)
 
template<typename T >
static bool is_empty (const T &)
 
template<typename T >
static bool is_deleted (const T &)
 
template<typename T >
static void mark_empty (T &)
 
template<typename T >
static void mark_deleted (T &)
 

Static Public Attributes

static const bool maybe_mx = false
 
static const bool empty_zero_p = H::empty_zero_p
 

Member Typedef Documentation

◆ key_type

template<typename H , typename Value >
H::value_type simple_hashmap_traits< H, Value >::key_type
inherited

Member Function Documentation

◆ equal_keys()

template<typename H , typename Value >
bool simple_hashmap_traits< H, Value >::equal_keys ( const key_type & k1,
const key_type & k2 )
inlinestaticinherited

◆ hash()

template<typename H , typename Value >
hashval_t simple_hashmap_traits< H, Value >::hash ( const key_type & h)
inlinestaticinherited

◆ is_deleted()

template<typename H , typename Value >
template<typename T >
bool simple_hashmap_traits< H, Value >::is_deleted ( const T & entry)
inlinestaticinherited

◆ is_empty()

template<typename H , typename Value >
template<typename T >
bool simple_hashmap_traits< H, Value >::is_empty ( const T & entry)
inlinestaticinherited

◆ mark_deleted()

template<typename H , typename Value >
template<typename T >
void simple_hashmap_traits< H, Value >::mark_deleted ( T & entry)
inlinestaticinherited

◆ mark_empty()

template<typename H , typename Value >
template<typename T >
void simple_hashmap_traits< H, Value >::mark_empty ( T & entry)
inlinestaticinherited

◆ remove()

template<typename H , typename Value >
template<typename T >
void simple_hashmap_traits< H, Value >::remove ( T & entry)
inlinestaticinherited

Field Documentation

◆ empty_zero_p

template<typename H , typename Value >
const bool simple_hashmap_traits< H, Value >::empty_zero_p = H::empty_zero_p
staticinherited

◆ maybe_mx

template<typename H , typename Value >
const bool simple_cache_map_traits< H, Value >::maybe_mx = false
static

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