simdjson  3.6.4
Ridiculously Fast JSON
base.h
1 #ifndef SIMDJSON_BUILTIN_BASE_H
2 #define SIMDJSON_BUILTIN_BASE_H
3 
4 #include "simdjson/base.h"
5 #include "simdjson/implementation_detection.h"
6 
7 namespace simdjson {
8 #if SIMDJSON_BUILTIN_IMPLEMENTATION_IS(arm64)
9  namespace arm64 {}
10 #elif SIMDJSON_BUILTIN_IMPLEMENTATION_IS(fallback)
11  namespace fallback {}
12 #elif SIMDJSON_BUILTIN_IMPLEMENTATION_IS(haswell)
13  namespace haswell {}
14 #elif SIMDJSON_BUILTIN_IMPLEMENTATION_IS(icelake)
15  namespace icelake {}
16 #elif SIMDJSON_BUILTIN_IMPLEMENTATION_IS(ppc64)
17  namespace ppc64 {}
18 #elif SIMDJSON_BUILTIN_IMPLEMENTATION_IS(westmere)
19  namespace westmere {}
20 #else
21 #error Unknown SIMDJSON_BUILTIN_IMPLEMENTATION
22 #endif
23 
34  namespace builtin = SIMDJSON_BUILTIN_IMPLEMENTATION;
35 } // namespace simdjson
36 
37 #endif // SIMDJSON_BUILTIN_BASE_H
The top level simdjson namespace, containing everything the library provides.
Definition: base.h:8