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

#include <analyzer.h>

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

Public Types

typedef Type value_type
 
typedef Type compare_type
 

Public Member Functions

hashval_t hash (value_type v)
 
bool equal (const value_type &existing, const value_type &candidate)
 
void mark_deleted (value_type &v)
 
void mark_empty (value_type &v)
 
bool is_deleted (value_type v)
 
bool is_empty (value_type v)
 

Static Public Member Functions

static hashval_t hash (value_type)
 
static bool equal (const value_type &existing, const value_type &candidate)
 
static void mark_deleted (Type &)
 
static void mark_empty (Type &)
 
static bool is_deleted (Type)
 
static bool is_empty (Type)
 
static void remove (Type &)
 

Detailed Description

template<typename Type>
struct pod_hash_traits< Type >
A template for creating hash traits for a POD type.   

Member Typedef Documentation

◆ compare_type

template<typename Type >
Type pod_hash_traits< Type >::compare_type

◆ value_type

template<typename Type >
Type pod_hash_traits< Type >::value_type

Member Function Documentation

◆ equal() [1/2]

template<typename Type >
static bool pod_hash_traits< Type >::equal ( const value_type & existing,
const value_type & candidate )
inlinestatic

◆ equal() [2/2]

bool pod_hash_traits< function_point >::equal ( const value_type & existing,
const value_type & candidate )
inline

References candidate().

◆ hash() [1/2]

hashval_t pod_hash_traits< function_point >::hash ( value_type v)
inline

◆ hash() [2/2]

template<typename Type >
static hashval_t pod_hash_traits< Type >::hash ( value_type )
inlinestatic

◆ is_deleted() [1/2]

template<typename Type >
static bool pod_hash_traits< Type >::is_deleted ( Type )
inlinestatic

◆ is_deleted() [2/2]

bool pod_hash_traits< function_point >::is_deleted ( value_type v)
inline

◆ is_empty() [1/2]

template<typename Type >
static bool pod_hash_traits< Type >::is_empty ( Type )
inlinestatic

◆ is_empty() [2/2]

bool pod_hash_traits< function_point >::is_empty ( value_type v)
inline

◆ mark_deleted() [1/2]

template<typename Type >
static void pod_hash_traits< Type >::mark_deleted ( Type & )
inlinestatic

◆ mark_deleted() [2/2]

void pod_hash_traits< function_point >::mark_deleted ( value_type & v)
inline

◆ mark_empty() [1/2]

template<typename Type >
static void pod_hash_traits< Type >::mark_empty ( Type & )
inlinestatic

◆ mark_empty() [2/2]

void pod_hash_traits< function_point >::mark_empty ( value_type & v)
inline

◆ 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: