DDD
1.9.0.20250409152518
util
configuration.hh
Go to the documentation of this file.
1
#ifndef _D3_CONFIGURATION_HH_
2
#define _D3_CONFIGURATION_HH_
3
4
#ifdef PARALLEL_DD
5
#ifndef REENTRANT
6
#define REENTRANT
7
#endif
8
#endif
9
10
#include "
ddd/util/hash_support.hh
"
11
#include "
ddd/util/ext_hash_map.hh
"
12
#include "
ddd/util/tbb_hash_map.hh
"
13
14
15
template
16
<
17
typename
Key,
18
typename
Data,
19
typename
HashKey =
d3::util::hash<Key>
,
20
typename
EqualKey =
d3::util::equal<Key>
21
>
struct
hash_map
22
{
23
# ifdef REENTRANT
24
typedef
tbb_hash_map<Key,Data,HashKey,EqualKey>
type
;
25
# else
26
typedef
ext_hash_map<Key,Data,HashKey,EqualKey>
type
;
27
#endif
28
};
29
30
namespace
conf
31
{
32
33
template
34
<
35
typename
T
36
>
37
struct
allocator
38
{
39
typedef
typename
std::allocator<T>
type
;
40
};
41
42
}
// conf
43
44
#endif
ext_hash_map
Definition
ext_hash_map.hh:21
ext_hash_map.hh
hash_support.hh
conf
Definition
configuration.hh:31
conf::allocator
Definition
configuration.hh:38
conf::allocator::type
std::allocator< T > type
Definition
configuration.hh:39
d3::util::vector
Definition
vector.hh:17
hash_map
Definition
configuration.hh:22
hash_map::type
ext_hash_map< Key, Data, HashKey, EqualKey > type
Definition
configuration.hh:26
tbb_hash_map.hh
Please
comment
this page and
report errors
about it on
the RefDocComments page
.
Generated on Wed Apr 9 2025 15:27:42 for DDD by
1.9.8