Viskores  1.0
Macros
ExportMacros.h File Reference
#include <viskores/internal/Configure.h>

Go to the source code of this file.

Macros

#define VISKORES_EXEC
 
#define VISKORES_EXEC_CONT
 
#define VISKORES_SUPPRESS_EXEC_WARNINGS
 
#define VISKORES_CONT
 
#define VISKORES_STATIC_CONSTEXPR_ARRAY   static constexpr
 
#define VISKORES_SILENCE_WEAK_VTABLE_WARNING_START
 
#define VISKORES_SILENCE_WEAK_VTABLE_WARNING_END
 
#define viskoresNotUsed(parameter_name)
 Simple macro to identify a parameter as unused. More...
 

Macro Definition Documentation

◆ VISKORES_CONT

#define VISKORES_CONT

◆ VISKORES_EXEC

#define VISKORES_EXEC

Export macros for various parts of the Viskores library.

◆ VISKORES_EXEC_CONT

#define VISKORES_EXEC_CONT

◆ VISKORES_SILENCE_WEAK_VTABLE_WARNING_END

#define VISKORES_SILENCE_WEAK_VTABLE_WARNING_END

◆ VISKORES_SILENCE_WEAK_VTABLE_WARNING_START

#define VISKORES_SILENCE_WEAK_VTABLE_WARNING_START

◆ VISKORES_STATIC_CONSTEXPR_ARRAY

#define VISKORES_STATIC_CONSTEXPR_ARRAY   static constexpr

◆ VISKORES_SUPPRESS_EXEC_WARNINGS

#define VISKORES_SUPPRESS_EXEC_WARNINGS

◆ viskoresNotUsed

#define viskoresNotUsed (   parameter_name)

Simple macro to identify a parameter as unused.

This allows you to name a parameter that is not used. There are several instances where you might want to do this. For example, when using a parameter to overload or template a function but do not actually use the parameter. Another example is providing a specialization that does not need that parameter.