gem5 v25.0.0.1
Loading...
Searching...
No Matches
hash_helpers.hh File Reference
#include <functional>
#include <numeric>
#include <tuple>
#include <type_traits>
#include <unordered_map>
#include <unordered_set>
#include <utility>
#include "base/type_traits.hh"

Go to the source code of this file.

Classes

struct  gem5::stl_helpers::hash_impl::hash< T, std::enable_if_t< is_std_hash_enabled_v< T > > >
struct  gem5::stl_helpers::hash_impl::hash< std::tuple< T... > >
struct  gem5::stl_helpers::hash_impl::hash< std::pair< T, U > >
struct  gem5::stl_helpers::hash_impl::hash< T, std::enable_if_t< !is_std_hash_enabled_v< T > &&is_iterable_v< T > > >
struct  gem5::stl_helpers::unordered_map< Key, T, Hash, KeyEqual, Allocator >
struct  gem5::stl_helpers::unordered_set< Key, Hash, KeyEqual, Allocator >
struct  gem5::stl_helpers::hash< T, typename >

Namespaces

namespace  gem5
 Copyright (c) 2024 Arm Limited All rights reserved.
namespace  gem5::stl_helpers
namespace  gem5::stl_helpers::hash_impl

Functions

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

Variables

static constexpr uint64_t gem5::stl_helpers::hash_impl::C = 0xbea225f9eb34556d
template<typename, typename = void>
constexpr bool gem5::stl_helpers::hash_impl::is_hash_enabled = false
template<typename T>
constexpr bool gem5::stl_helpers::hash_impl::is_hash_enabled< T, std::void_t< decltype(hash< T >()(std::declval< T >()))> > = true
template<typename, typename = void>
constexpr bool gem5::stl_helpers::is_hash_enabled

Generated on Sat Oct 18 2025 08:06:47 for gem5 by doxygen 1.14.0