yfast
0.6.1
Loading...
Searching...
No Matches
default_hash.h
1
#ifndef _YFAST_INTERNAL_DEFAULT_HASH_H
2
#define _YFAST_INTERNAL_DEFAULT_HASH_H
3
4
#ifdef YFAST_WITHOUT_HOPSCOTCH_MAP
5
#include <unordered_map>
6
#else
7
#include <tsl/hopscotch_map.h>
8
#endif
9
10
namespace
yfast::internal {
11
12
#ifdef YFAST_WITHOUT_HOPSCOTCH_MAP
13
template
<
typename
Key,
typename
Value>
14
using
DefaultHash = std::unordered_map<Key, Value>;
15
#else
16
template
<
typename
Key,
typename
Value>
17
using
DefaultHash = tsl::hopscotch_map<Key, Value>;
18
#endif
19
20
}
21
22
#endif
include
yfast
internal
default_hash.h
Generated by
1.14.0 with
doxygen-awesome
2.3.4