Kigs Framework  Doc version 0.8
Open source multi purpose Rapid Application Development framework
kstlvector.h
1 #ifndef __KSTLVECTOR__
2 #define __KSTLVECTOR__
3 
4 #include "Platform/Core/CorePlatformDefines.h"
5 
6 #include <vector>
7 
8 
9 #ifndef _NO_KSTL_OVERLOADING_
10 
11 #include "CoreSTLAllocator.h"
12 
13 namespace kstl
14 {
15  template<typename T>
16  using vector = std::vector<T, CoreSTLAllocator<T>>;
17 }
18 
19 #else //_NO_KSTL_OVERLOADING_
20 #include <vector>
21 
22 namespace kstl = std;
23 
24 #endif //_NO_KSTL_OVERLOADING_
25 
26 #endif