eco_hashmap.h
1 /*
2  @copyright Russell Standish 2000-2013
3  @author Russell Standish
4  This file is part of EcoLab
5 
6  Open source licensed under the MIT license. See LICENSE for details.
7 */
8 
9 /* default is to define hash_maps in terms of standard C++ maps:
10 ifdef HASH_hash_map, traditional STL hash_maps are used
11  */
12 
13 
14 #ifndef ECO_HASH_MAP_H
15 #define ECO_HASH_MAP_H
16 
17 #if defined(HASH_hash_map)
18 # if (defined(__GNUC__) && __GNUC__>=3)
19 # include <backward/hash_map.h>
20 # else
21 # include <hash_map>
22  using std::hash_map;
23 # endif /* __GNUC__ */
24 #else
25 # include <map>
26 namespace ecolab
27 {
28  template <class K, class T> class hash_map: public std::map<K,T> {};
29 }
30 #endif /* HASH_* */
31 
32 #endif /* ECO_HASH_MAP_H */
_OPENMP
Definition: accessor.h:16
Definition: eco_hashmap.h:28