2014-12-16 19:57:19 +01:00
|
|
|
#ifndef unordered_map_hh_INCLUDED
|
|
|
|
#define unordered_map_hh_INCLUDED
|
|
|
|
|
|
|
|
#include "hash.hh"
|
2015-01-07 20:29:31 +01:00
|
|
|
#include "memory.hh"
|
2014-12-16 19:57:19 +01:00
|
|
|
|
|
|
|
#include <unordered_map>
|
|
|
|
|
|
|
|
namespace Kakoune
|
|
|
|
{
|
|
|
|
|
2015-01-07 20:29:31 +01:00
|
|
|
template<typename Key, typename Value, MemoryDomain domain = MemoryDomain::Undefined>
|
|
|
|
using UnorderedMap = std::unordered_map<Key, Value, Hash<Key>, std::equal_to<Key>,
|
|
|
|
Allocator<std::pair<const Key, Value>, domain>>;
|
2014-12-16 19:57:19 +01:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // unordered_map_hh_INCLUDED
|