Kigs Framework
Doc version 0.8
Open source multi purpose Rapid Application Development framework
framework
Core
Headers
kstlmap.h
1
#ifndef __KSTLMAP_H__
2
#define __KSTLMAP_H__
3
4
#include "Platform/Core/CorePlatformDefines.h"
5
#include <map>
6
#ifndef _NO_KSTL_OVERLOADING_
7
8
#include "CoreSTLAllocator.h"
9
namespace
kstl
10
{
11
template
<
typename
KEY_TYPE,
typename
VALUE_TYPE,
typename
PREDICATE_TYPE=std::less<KEY_TYPE>>
12
using
map = std::map<KEY_TYPE, VALUE_TYPE, PREDICATE_TYPE, 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
Generated by
1.8.17