DDD  1.9.0.20240826145154
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
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
Definition: ext_hash_map.hh:21
Definition: configuration.hh:31
Definition: configuration.hh:38
std::allocator< T > type
Definition: configuration.hh:39
Definition: hash_support.hh:51
Definition: hash_support.hh:40
Definition: configuration.hh:22
ext_hash_map< Key, Data, HashKey, EqualKey > type
Definition: configuration.hh:26

Please comment this page and report errors about it on the RefDocComments page.
Generated on Mon Aug 26 2024 14:54:00 for DDD by doxygen 1.9.1