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
 

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 >
typedef Type pod_hash_traits< Type >::compare_type

◆ value_type

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

Member Function Documentation

◆ equal()

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

◆ hash()

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

◆ is_deleted()

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

◆ is_empty()

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

◆ mark_deleted()

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

◆ mark_empty()

template<typename Type >
static void pod_hash_traits< Type >::mark_empty ( Type & )
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: