Unused.hpp File Reference

Provides the OPM_UNUSED macro. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define OPM_UNUSED
 
#define OPM_DEBUG_UNUSED   OPM_UNUSED
 
#define OPM_OPTIM_UNUSED
 

Detailed Description

Provides the OPM_UNUSED macro.

This macro can be used to mark variables as "potentially unused" which suppresses some bogus compiler warnings. If the compiler does not support this, the macro is a no-op.

Macro Definition Documentation

#define OPM_DEBUG_UNUSED   OPM_UNUSED
#define OPM_UNUSED