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

#include <analyzer.h>

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

Public Types

typedef Type value_type
 
typedef Type compare_type
 

Static Public Member Functions

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

Detailed Description

template<typename Type>
struct member_function_hash_traits< Type >
A hash traits class that uses member functions to implement
the various required ops.   

Member Typedef Documentation

◆ compare_type

template<typename Type >
Type member_function_hash_traits< Type >::compare_type

◆ value_type

template<typename Type >
Type member_function_hash_traits< Type >::value_type

Member Function Documentation

◆ equal()

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

References candidate().

◆ hash()

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

◆ is_deleted()

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

◆ is_empty()

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

◆ mark_deleted()

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

◆ mark_empty()

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