CARB_UNUSED#

Defined in carb/Defines.h

CARB_UNUSED(...)#

Portable way to mark unused variables as used.

This tricks the compiler into thinking that the variables are used, eliminating warnings about unused variables.

Note

Since C++17 is now the minimum, it is recommended to use [[maybe_unused]] instead.

Parameters:
  • ... – Any variables or arguments that should be marked as unused.