1 #ifndef ROLAND_COMPILERSPEC_H 2 #define ROLAND_COMPILERSPEC_H 17 #define HAS_CONSTEXPR_SPECIFIER 18 #define HAS_FINAL_SPECIFIER 19 #define HAS_NOEXCEPT_SPECIFIER 21 #define HAS_DEFAULT_TEMPLATE_ARGS_FOR_FUNCTIONS 22 #define HAS_THREAD_LOCAL_STORAGE 23 #define HAS_DEFAULT_AND_DELETE 24 #define HAS_VARIADIC_TEMPLATES 25 #define HAS_NON_BUGGY_TYPE_TRAITS 27 #define HAS_INITIALIZER_LISTS 32 #ifdef ROLAND_NOEXCEPT 33 #error "*** ROLAND_NOEXCEPT is already defined and may not match requested behaviour. ***" 35 #ifdef HAS_NOEXCEPT_SPECIFIER 36 #define ROLAND_NOEXCEPT noexcept 38 #define ROLAND_NOEXCEPT 42 #if defined(ROLAND_DEFAULT) || defined(ROLAND_DELETE) 43 #error "*** ROLAND_DEFAULT & ROLAND_DELETE are already defined and may not match requested behaviour. ***" 45 #ifdef HAS_DEFAULT_AND_DELETE 46 #define ROLAND_DEFAULT = default; 47 #define ROLAND_DELETE = delete; 49 #define ROLAND_DEFAULT {} 50 #define ROLAND_DELETE {} 55 #ifdef ROLAND_EXPLICIT 56 #error "*** ROLAND_EXPLICIT is already defined and may not match requested behaviour. ***" 58 #ifdef HAS_EXPLICIT_SPECIFIER 59 #define ROLAND_EXPLICIT explicit 61 #define ROLAND_EXPLICIT 66 #error "*** ROLAND_FINAL is already defined and may not match requested behaviour. ***" 68 #ifdef HAS_FINAL_SPECIFIER 69 #define ROLAND_FINAL final 75 #ifdef ROLAND_CONSTEXPR 76 #error "*** ROLAND_CONSTEXPR is already defined and may not match requested behaviour. ***" 78 #ifdef HAS_CONSTEXPR_SPECIFIER 79 #define ROLAND_CONSTEXPR constexpr 81 #define ROLAND_CONSTEXPR const 85 #endif // ROLAND_COMPILERSPEC_H const char *const ROLAND_SIZEOF_VOIDP
Definition: compspec.h:13
const char *const ROLAND_COMPILER_CXX_FLAGS
Definition: compspec.h:11
const char *const ROLAND_COMPILER_VERSION
Definition: compspec.h:10
const char *const ROLAND_COMPILER_ID
Definition: compspec.h:9
const char *const ROLAND_SYSTEM
Definition: compspec.h:6
const char *const ROLAND_SYSTEM_NAME
Definition: compspec.h:7