|
C++ Utilities 5.37.0
Useful C++ classes and routines such as argument parser, IO and conversion utilities
|
Go to the source code of this file.
Macros | |
| #define | CPP_UTILITIES_GENERIC_LIB_EXPORT __attribute__((visibility("default"))) |
| Marks a symbol for shared library export. | |
| #define | CPP_UTILITIES_GENERIC_LIB_IMPORT __attribute__((visibility("default"))) |
| Declares a symbol to be an import from a shared library. | |
| #define | CPP_UTILITIES_GENERIC_LIB_HIDDEN __attribute__((visibility("hidden"))) |
| Hidden visibility indicates that the symbol will not be placed into the dynamic symbol table, so no other module (executable or shared library) can reference it directly. | |
| #define | CPP_UTILITIES_MAIN_EXPORT |
| Exports the main() functions on platforms where this is needed. | |
| #define | CPP_UTILITIES_UNUSED(x) |
| Prevents warnings about unused variables. | |
| #define | CPP_UTILITIES_IF_DEBUG_BUILD(x) |
| Wraps debug-only lines conveniently. | |
| #define | CPP_UTILITIES_WARNING_PUSH |
| Causes GCC/Clang to remember the state of the diagnostics. | |
| #define | CPP_UTILITIES_WARNING_POP |
| Causes GCC/Clang to restore the previous state of the diagnostics. | |
| #define | CPP_UTILITIES_WARNING_DISABLE(text) |
| Causes GCC/Clang to suppress the specified diagnostic. | |
| #define | CPP_UTILITIES_WARNING_DISARM(text) |
| Causes GCC/Clang to treat the specified diagnostic as warning (even though otherwise treated as error, e.g. | |
| #define CPP_UTILITIES_GENERIC_LIB_EXPORT __attribute__((visibility("default"))) |
| #define CPP_UTILITIES_GENERIC_LIB_HIDDEN __attribute__((visibility("hidden"))) |
| #define CPP_UTILITIES_GENERIC_LIB_IMPORT __attribute__((visibility("default"))) |
| #define CPP_UTILITIES_IF_DEBUG_BUILD | ( | x | ) |
| #define CPP_UTILITIES_MAIN_EXPORT |
Exports the main() functions on platforms where this is needed.
| #define CPP_UTILITIES_UNUSED | ( | x | ) |
| #define CPP_UTILITIES_WARNING_DISABLE | ( | text | ) |
| #define CPP_UTILITIES_WARNING_DISARM | ( | text | ) |
| #define CPP_UTILITIES_WARNING_POP |