Macros | |
#define | ein_has_attribute(__x) |
__has_attribute(x) | |
#define | ein_has_declspec_attribute(__x) |
portable __has_declspec_attribute(__x) | |
macros for determining supported attributes
#define ein_has_attribute | ( | __x | ) |
__has_attribute(x)
Used as the primary means for detecting advanced annotation features
Definition at line 33 of file common.hpp.
#define ein_has_declspec_attribute | ( | __x | ) |
portable __has_declspec_attribute(__x)
Defaults to 1 on MSVC, where we can assume __declspec(x)
is well supported.
Uses the __has_declspec_attribute(x)
implementation in Clang
Defaults to 0 otherwise.
Definition at line 54 of file common.hpp.