nfx-hashing 0.1.2
Modern C++20 header-only hashing library with hardware acceleration
Loading...
Searching...
No Matches
Hasher.h File Reference

STL-compatible hash functor for use with unordered containers. More...

#include <array>
#include <cstdint>
#include <optional>
#include <span>
#include <string>
#include <string_view>
#include <type_traits>
#include <tuple>
#include <variant>
#include <vector>
#include "Concepts.h"
#include "Constants.h"
#include "nfx/detail/hashing/Hasher.inl"
Include dependency graph for Hasher.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  nfx::hashing::is_std_pair< T >
struct  nfx::hashing::is_std_pair< std::pair< T1, T2 > >
struct  nfx::hashing::is_std_tuple< T >
struct  nfx::hashing::is_std_tuple< std::tuple< Ts... > >
struct  nfx::hashing::is_std_array< T >
struct  nfx::hashing::is_std_array< std::array< T, N > >
struct  nfx::hashing::is_std_vector< T >
struct  nfx::hashing::is_std_vector< std::vector< T > >
struct  nfx::hashing::is_std_span< T >
struct  nfx::hashing::is_std_span< std::span< T, Extent > >
struct  nfx::hashing::is_std_optional< T >
struct  nfx::hashing::is_std_optional< std::optional< T > >
struct  nfx::hashing::is_std_variant< T >
struct  nfx::hashing::is_std_variant< std::variant< Ts... > >
struct  nfx::hashing::Hasher< HashType, Seed >
 General-purpose STL-compatible hash functor supporting multiple types. More...

Detailed Description

STL-compatible hash functor for use with unordered containers.

Provides Hasher<HashType, Seed> - a general-purpose hash functor supporting strings, integers, floats, pointers, enums, pairs, tuples, arrays, and custom types

Definition in file Hasher.h.