Kanzi 3.9.10
macros.hpp File Reference

Macros

#define KZ_MAYBE_UNUSED(param)
 Macro for flagging parameter as potentially unused depending on configuration.
 
#define KZ_MOVABLE_BUT_NOT_COPYABLE(TYPE)
 Macro for deleting copy constructor and assignment operator.
 
#define KZ_MULTILINE_MACRO
 Beginning of a multiline macro.
 
#define KZ_MULTILINE_MACRO_END
 End of a multiline macro.
 
#define KZ_NOT_MOVABLE_NOT_COPYABLE(TYPE)
 Macro for deleting copy constructor, assignment operator, move constructor and move assignment operator.
 
#define KZ_UNUSED_RETURN_VALUE(param)
 Macro for flagging unused return value.
 

Macro Definition Documentation

◆ KZ_MAYBE_UNUSED

#define KZ_MAYBE_UNUSED ( param)

Macro for flagging parameter as potentially unused depending on configuration.

Add statements defining parameters as potentially unused at end of function if necessary. Only use this for parameters that really require it. If a parameter is never used, omit the name from definition.

◆ KZ_UNUSED_RETURN_VALUE

#define KZ_UNUSED_RETURN_VALUE ( param)

Macro for flagging unused return value.

◆ KZ_MULTILINE_MACRO

#define KZ_MULTILINE_MACRO

Beginning of a multiline macro.

◆ KZ_MULTILINE_MACRO_END

#define KZ_MULTILINE_MACRO_END

End of a multiline macro.

◆ KZ_NOT_MOVABLE_NOT_COPYABLE

#define KZ_NOT_MOVABLE_NOT_COPYABLE ( TYPE)

Macro for deleting copy constructor, assignment operator, move constructor and move assignment operator.

◆ KZ_MOVABLE_BUT_NOT_COPYABLE

#define KZ_MOVABLE_BUT_NOT_COPYABLE ( TYPE)

Macro for deleting copy constructor and assignment operator.