ADTF
|
Component for common preprocessor functionality and macros - applicable using
#include <a_util/preprocessor.h>
More...
Macros | |
#define | A_UTIL_CURRENT_FUNCTION BOOST_CURRENT_FUNCTION |
Resolves to the name of the function this macro is used in. | |
#define | DEV_ESSENTIAL_DEPRECATED(msg) |
Adds [[deprecated("msg")]] to allowed declarations. More... | |
#define | DEV_ESSENTIAL_DEPRECATED_MACRO(macro_name, reason) |
A function like macro usable inside other macro definitions to warn about their deprecation. More... | |
#define | A_UTIL_DISABLE_COMPILER_WARNINGS |
Disables all compiler warnings until A_UTIL_ENABLE_COMPILER_WARNINGS is found. More... | |
#define | A_UTIL_ENABLE_COMPILER_WARNINGS |
Restores the compiler warning level to the state before A_UTIL_DISABLE_COMPILER_WARNINGS. More... | |
#define | A_UTIL_DLL_EXPORT |
Defines standard exporting rules for symbol visibility. More... | |
#define | A_UTIL_TO_STRING(expression) A_UTIL_STRINGIFY(expression) |
Converts an expression to its string representation during preprocessing. More... | |
Component for common preprocessor functionality and macros - applicable using
#include <a_util/preprocessor.h>
#define A_UTIL_DISABLE_COMPILER_WARNINGS |
Disables all compiler warnings until A_UTIL_ENABLE_COMPILER_WARNINGS is found.
Might be used to disable warnings for third-party includes that cannot be changed. Example:
Definition at line 46 of file disable_warnings.h.
#define A_UTIL_DLL_EXPORT |
Defines standard exporting rules for symbol visibility.
Macro for switching between export / import.
Definition at line 40 of file dll_export.h.
#define A_UTIL_ENABLE_COMPILER_WARNINGS |
Restores the compiler warning level to the state before A_UTIL_DISABLE_COMPILER_WARNINGS.
For an example, see A_UTIL_DISABLE_COMPILER_WARNINGS.
Definition at line 47 of file disable_warnings.h.
#define A_UTIL_TO_STRING | ( | expression | ) | A_UTIL_STRINGIFY(expression) |
Converts an expression to its string representation during preprocessing.
[in] | expression | The expression evaluating to the string representation. |
Definition at line 31 of file to_string.h.
#define DEV_ESSENTIAL_DEPRECATED | ( | msg | ) |
Adds [[deprecated("msg")]]
to allowed declarations.
[in] | msg | Text explaining the rationale for deprecation and/or to suggest a replacing entity |
Definition at line 44 of file deprecated.h.
#define DEV_ESSENTIAL_DEPRECATED_MACRO | ( | macro_name, | |
reason | |||
) |
A function like macro usable inside other macro definitions to warn about their deprecation.
Example:
[in] | macro_name | Name of the macro that shall be marked deprecated (not a string!) |
[in] | reason | A string explaining the reason of deprecation. |
Definition at line 76 of file deprecated.h.