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

#include <hash-table.h>

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

Public Types

typedef Type value_type
typedef Type compare_type

Static Public Member Functions

static hashval_t hash (const value_type *)
static int equal (const value_type *existing, const compare_type *candidate)
static void remove (Type *p)

Detailed Description

template<typename Type>
struct pointer_hash< Type >

   Pointer hash with a no-op remove method.  

Member Typedef Documentation

template<typename Type >
typedef Type pointer_hash< Type >::compare_type
template<typename Type >
typedef Type pointer_hash< Type >::value_type

Member Function Documentation

template<typename Type >
int pointer_hash< Type >::equal ( const value_type existing,
const compare_type candidate 
template<typename Type >
hashval_t pointer_hash< Type >::hash ( const value_type candidate)
     This is a really poor hash function, but it is what the current code uses,
     so I am reusing it to avoid an additional axis in testing.  
template<typename Type>
void typed_noop_remove< Type >::remove ( Type *  p)
   Remove doing nothing.  

Reimplemented in freeing_string_slot_hasher.

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