VTK-m
2.2
|
Go to the source code of this file.
Namespaces | |
vtkm | |
Groups connected points that have the same field value. | |
vtkm::cont | |
VTK-m Control Environment. | |
Macros | |
#define | VTKM_IS_HINT_LIST(T) VTKM_STATIC_ASSERT(::vtkm::cont::internal::IsHintList<T>::value) |
Performs a static assert that the given object is a hint list. More... | |
#define VTKM_IS_HINT_LIST | ( | T | ) | VTKM_STATIC_ASSERT(::vtkm::cont::internal::IsHintList<T>::value) |
Performs a static assert that the given object is a hint list.
If the provided type is a vtkm::cont::internal::HintList
, then this macro does nothing. If the type is anything else, a compile error will occur. This macro is useful for checking that template arguments are an expected hint list. This helps diagnose improper template use more easily.