home/src/unordered_map.hh
Maxime Coste ebecd60eb8 Rework hashing, use a more extensible framework similar to n3876 proposal
std::hash specialization is a pain to work with, stop using that, and
just specialize a 'size_t hash_value(const T&)' free function.
2014-12-16 18:57:19 +00:00

18 lines
280 B
C++

#ifndef unordered_map_hh_INCLUDED
#define unordered_map_hh_INCLUDED
#include "hash.hh"
#include <unordered_map>
namespace Kakoune
{
template<typename Key, typename Value>
using UnorderedMap = std::unordered_map<Key, Value, Hash<Key>>;
}
#endif // unordered_map_hh_INCLUDED