gem5 v24.1.0.1
Loading...
Searching...
No Matches
Classes | Functions | Variables
gem5::stl_helpers::hash_impl Namespace Reference

Classes

struct  hash
 
struct  hash< std::pair< T, U > >
 
struct  hash< std::tuple< T... > >
 
struct  hash< T, std::enable_if_t< !is_std_hash_enabled_v< T > &&is_iterable_v< T > > >
 
struct  hash< T, std::enable_if_t< is_std_hash_enabled_v< T > > >
 

Functions

template<typename... T>
constexpr size_t hash_combine (T... hashes)
 
constexpr size_t hash_refine (size_t x)
 
template<typename T >
constexpr auto make_hash_for (const T &)
 
template<typename T >
constexpr auto hash_value (const T &v)
 

Variables

static constexpr uint64_t C = 0xbea225f9eb34556d
 
template<typename , typename = void>
constexpr bool is_hash_enabled = false
 

Function Documentation

◆ hash_combine()

template<typename... T>
constexpr size_t gem5::stl_helpers::hash_impl::hash_combine ( T...  hashes)
constexpr

◆ hash_refine()

constexpr size_t gem5::stl_helpers::hash_impl::hash_refine ( size_t  x)
constexpr

◆ hash_value()

template<typename T >
constexpr auto gem5::stl_helpers::hash_impl::hash_value ( const T &  v)
constexpr

◆ make_hash_for()

template<typename T >
constexpr auto gem5::stl_helpers::hash_impl::make_hash_for ( const T &  )
constexpr

Definition at line 105 of file hash_helpers.hh.

References make_hash_for().

Referenced by hash_value(), and make_hash_for().

Variable Documentation

◆ C

constexpr uint64_t gem5::stl_helpers::hash_impl::C = 0xbea225f9eb34556d
staticconstexpr

Definition at line 62 of file hash_helpers.hh.

Referenced by hash_combine(), and hash_refine().

◆ is_hash_enabled

template<typename , typename = void>
constexpr bool gem5::stl_helpers::hash_impl::is_hash_enabled = false
constexpr

Definition at line 159 of file hash_helpers.hh.


Generated on Mon Jan 13 2025 04:29:17 for gem5 by doxygen 1.9.8