libGimbal 0.1.0
C17-Based Extended Standard Library and Cross-Language Runtime Framework
Loading...
Searching...
No Matches
gimbal_memory_resource.hpp
1#ifndef GIMBAL_MEMORY_RESOURCE_HPP
2#define GIMBAL_MEMORY_RESOURCE_HPP
3
5
6#ifdef GBL_CPP_17
7# if defined(__APPLE__) || defined(__ANDROID__) || defined(__wasm__)
8# include <experimental/memory_resource>
9 namespace gimbal {
10 namespace pmr = std::experimental::pmr;
11 }
12# else
13# include <memory_resource>
14 namespace gimbal {
15 namespace pmr = std::pmr;
16 }
17# define GBL_PMR_VECTOR
18# define GBL_PMR_STRING
19# define GBL_LEX_CMP_3WAY
20# endif
21#endif
22
23
24#endif // GIMBAL_MEMORY_RESOURCE_HPP