|
Dev Essential
|
Macros | |
| #define | A_UTIL_CURRENT_FUNCTION BOOST_CURRENT_FUNCTION |
| #define | DEV_ESSENTIAL_DEPRECATED(msg) |
| #define | DEV_ESSENTIAL_DEPRECATED_MACRO(macro_name, reason) |
| #define | A_UTIL_DISABLE_COMPILER_WARNINGS |
| #define | A_UTIL_ENABLE_COMPILER_WARNINGS |
| #define | A_UTIL_DLL_EXPORT |
| Macro for switching between export / import. | |
| #define | A_UTIL_TO_STRING(expression) |
Component for common preprocessor functionality and macros - applicable using
#include <a_util/preprocessor.h>
| #define A_UTIL_CURRENT_FUNCTION BOOST_CURRENT_FUNCTION |
Resolves to the name of the function this macro is used in.
| #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:
| #define A_UTIL_DLL_EXPORT |
Macro for switching between export / import.
Defines standard exporting rules for symbol visibility.
| #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.
| #define A_UTIL_TO_STRING | ( | expression | ) |
Converts an expression to its string representation during preprocessing.
| [in] | expression | The expression evaluating to the string representation. |
| #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 |
| #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. |