GCC Middle and Back End API Reference
default_hash_traits< type_pair > Struct Reference
Inheritance diagram for default_hash_traits< type_pair >:
Collaboration diagram for default_hash_traits< type_pair >:

Public Types

typedef type_pair value_type
 
typedef type_pair compare_type
 

Static Public Member Functions

static hashval_t hash (type_pair p)
 
static bool is_empty (type_pair p)
 
static bool is_deleted (type_pair p)
 
static bool equal (const type_pair &a, const type_pair &b)
 
static void mark_empty (type_pair &e)
 
static void remove (type_pair &)
 

Static Public Attributes

static const bool empty_zero_p = true
 

Member Typedef Documentation

◆ compare_type

◆ value_type

Member Function Documentation

◆ equal()

static bool default_hash_traits< type_pair >::equal ( const type_pair & a,
const type_pair & b )
inlinestatic

References a, and b.

◆ hash()

◆ is_deleted()

static bool default_hash_traits< type_pair >::is_deleted ( type_pair p)
inlinestatic

◆ is_empty()

static bool default_hash_traits< type_pair >::is_empty ( type_pair p)
inlinestatic

References type_pair::first, and NULL.

◆ mark_empty()

static void default_hash_traits< type_pair >::mark_empty ( type_pair & e)
inlinestatic

References type_pair::first, and NULL.

◆ remove()

void typed_noop_remove< type_pair >::remove ( type_pair & )
inlinestaticinherited
Remove doing nothing.   

Field Documentation

◆ empty_zero_p

const bool default_hash_traits< type_pair >::empty_zero_p = true
static

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