Hash utility

This commit is contained in:
Dan Paulat 2022-10-02 23:12:41 -05:00
parent 8d2fcf3802
commit 32e8ca72a0
3 changed files with 43 additions and 0 deletions

View file

@ -0,0 +1,21 @@
#pragma once
#include <string>
#include <utility>
namespace scwx
{
namespace util
{
template<class Key>
struct hash;
template<>
struct hash<std::pair<std::string, std::string>>
{
size_t operator()(const std::pair<std::string, std::string>& x) const;
};
} // namespace util
} // namespace scwx