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

#include <hash-traits.h>

Inheritance diagram for vec_hash_base< Type >:

Public Types

typedef vec< typename Type::value_type > value_type
 
typedef vec< typename Type::compare_type > compare_type
 

Static Public Member Functions

static hashval_t hash (value_type)
 
static bool equal (value_type, compare_type)
 

Detailed Description

template<typename Type>
struct vec_hash_base< Type >
Base traits for vectors, providing just the hash and comparison
functionality.  Type gives the corresponding traits for the element
type.   

Member Typedef Documentation

◆ compare_type

template<typename Type >
vec<typename Type::compare_type> vec_hash_base< Type >::compare_type

◆ value_type

template<typename Type >
vec<typename Type::value_type> vec_hash_base< Type >::value_type

Member Function Documentation

◆ equal()

template<typename Type >
bool vec_hash_base< Type >::equal ( value_type x,
compare_type y )
inlinestatic

References i, and y.

◆ hash()

template<typename Type >
hashval_t vec_hash_base< Type >::hash ( value_type x)
inlinestatic

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