VTK-m  2.0
Classes | Namespaces | Macros
StaticAssert.h File Reference
#include <type_traits>

Go to the source code of this file.

Classes

struct  vtkm::ReadTheSourceCodeHereForHelpOnThisError< noError >
 
struct  vtkm::ReadTheSourceCodeHereForHelpOnThisError< true >
 

Namespaces

 vtkm
 Groups connected points that have the same field value.
 

Macros

#define VTKM_STATIC_ASSERT(condition)   static_assert((condition), "Failed static assert: " #condition)
 
#define VTKM_STATIC_ASSERT_MSG(condition, message)   static_assert((condition), message)
 
#define VTKM_READ_THE_SOURCE_CODE_FOR_HELP(noError)   VTKM_STATIC_ASSERT(vtkm::ReadTheSourceCodeHereForHelpOnThisError<noError>::value)
 

Macro Definition Documentation

◆ VTKM_READ_THE_SOURCE_CODE_FOR_HELP

#define VTKM_READ_THE_SOURCE_CODE_FOR_HELP (   noError)    VTKM_STATIC_ASSERT(vtkm::ReadTheSourceCodeHereForHelpOnThisError<noError>::value)

◆ VTKM_STATIC_ASSERT

#define VTKM_STATIC_ASSERT (   condition)    static_assert((condition), "Failed static assert: " #condition)

◆ VTKM_STATIC_ASSERT_MSG

#define VTKM_STATIC_ASSERT_MSG (   condition,
  message 
)    static_assert((condition), message)