GCC Middle and Back End API Reference
int_hash_base< Type > Struct Template Reference

#include <hash-traits.h>

Inheritance diagram for int_hash_base< Type >:
Collaboration diagram for int_hash_base< Type >:

Public Types

typedef Type value_type
 
typedef Type compare_type
 

Static Public Member Functions

static hashval_t hash (value_type)
 
static bool equal (value_type existing, value_type candidate)
 
static void remove (Type &)
 

Detailed Description

template<typename Type>
struct int_hash_base< Type >
Base traits for integer type Type, providing just the hash and
comparison functionality.   

Member Typedef Documentation

◆ compare_type

template<typename Type >
Type int_hash_base< Type >::compare_type

◆ value_type

template<typename Type >
Type int_hash_base< Type >::value_type

Member Function Documentation

◆ equal()

template<typename Type >
bool int_hash_base< Type >::equal ( value_type existing,
value_type candidate )
inlinestatic

References y.

◆ hash()

template<typename Type >
hashval_t int_hash_base< Type >::hash ( value_type x)
inlinestatic

◆ remove()

template<typename Type >
void typed_noop_remove< Type >::remove ( Type & )
inlinestaticinherited
Remove doing nothing.   

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