![]() |
|
Classes/functions that help getting code compiled cleanly. More...
Macros | |
#define | TF_UNUSED(x) (void) x |
Stops compiler from producing unused argument or variable warnings. More... | |
Classes/functions that help getting code compiled cleanly.
#define TF_UNUSED | ( | x | ) | (void) x |
Stops compiler from producing unused argument or variable warnings.
This is useful mainly in C, because in C++ you can just leave the variable unnamed. However, there are situations where this can be useful even in C++, such as