![]() |
Arene Base
Fundamental Utilities For Safety Critical C++
|
Go to the source code of this file.
| #define ARENE_HAS_FEATURE | ( | ... | ) |
A platform support query for testing if a supplied feature is defined.
| ... | The name of the feature to query for. |
__has_feature is defined, the result of __has_feature(__VA_ARGS__), otherwise 0 .Example usage testing for the address_sanitizer feature:
__has_feature is a clang-specific facility. It generally shouldn't be used in user code, and instead should be used only as a building block to other platform support queries.