Kigs Framework  Doc version 0.8
Open source multi purpose Rapid Application Development framework
kstlunordered_map.h
1 #ifndef __KSTLUNORDEREDMAP_H__
2 #define __KSTLUNORDEREDMAP_H__
3 
4 #include "Platform/Core/CorePlatformDefines.h"
5 #include <unordered_map>
6 #ifndef _NO_KSTL_OVERLOADING_
7 
8 #include "CoreSTLAllocator.h"
9 namespace kstl
10 {
11  template<typename KEY_TYPE, typename VALUE_TYPE, class HASHER = std::hash<KEY_TYPE>, class KEYEQ = std::equal_to<KEY_TYPE>>
12  using unordered_map = std::unordered_map<KEY_TYPE, VALUE_TYPE, HASHER, KEYEQ, CoreSTLAllocator<std::pair<const KEY_TYPE, VALUE_TYPE>>>;
13 }
14 
15 #else //_NO_KSTL_OVERLOADING_
16 
17 namespace kstl = std;
18 
19 #endif //_NO_KSTL_OVERLOADING_
20 
21 #endif //__KSTLUNORDEREDMAP_H__