3 #ifndef __CDS_ARH_COMPILER_DEFS_H
4 #define __CDS_ARH_COMPILER_DEFS_H
7 Required C++11 features:
8 - variadic template [CDS_CXX11_VARIADIC_TEMPLATE_SUPPORT]
9 - template alias [CDS_CXX11_TEMPLATE_ALIAS_SUPPORT]
10 - explicit conversion operator [CDS_CXX11_EXPLICIT_CONVERSION_OPERATOR_SUPPORT]
11 - default template argument for function [CDS_CXX11_DEFAULT_FUNCTION_TEMPLATE_ARGS_SUPPORT]
12 - explicit default functions (=default) [CDS_CXX11_EXPLICITLY_DEFAULTED_FUNCTION_SUPPORT]
15 #if CDS_COMPILER == CDS_COMPILER_MSVC
16 # include <cds/compiler/vc/defs.h>
17 #elif CDS_COMPILER == CDS_COMPILER_GCC
18 # include <cds/compiler/gcc/defs.h>
19 #elif CDS_COMPILER == CDS_COMPILER_INTEL
20 # include <cds/compiler/icl/defs.h>
21 #elif CDS_COMPILER == CDS_COMPILER_CLANG
22 # include <cds/compiler/clang/defs.h>
23 #elif CDS_COMPILER == CDS_COMPILER_UNKNOWN
24 # error Unknown compiler. Compilation aborted
26 # error Unknown value of CDS_COMPILER macro
33 #ifndef CDS_EXPORT_API
34 # define CDS_EXPORT_API
37 #endif // #ifndef __CDS_ARH_COMPILER_DEFS_H