mirror of
https://github.com/Expand-sys/CCash
synced 2025-12-16 16:12:14 +11:00
10 lines
277 B
C++
10 lines
277 B
C++
#pragma once
|
|
#include <string>
|
|
#include <xxhash.h>
|
|
|
|
struct xxHashStringGen
|
|
{
|
|
XXH64_hash_t operator()(const std::string &str) const noexcept;
|
|
XXH64_hash_t operator()(std::string &&str) const noexcept;
|
|
XXH64_hash_t operator()(std::string_view str) const noexcept;
|
|
};
|