Go to the source code of this file.
◆ VISKORES_IS_EXECUTION_AND_CONTROL_OBJECT
#define VISKORES_IS_EXECUTION_AND_CONTROL_OBJECT |
( |
|
execObject | ) |
|
Value: static_assert( \
::viskores::cont::internal::IsExecutionAndControlObjectBase<execObject>::value, \
"Provided type is not a subclass of viskores::cont::ExecutionAndControlObjectBase."); \
static_assert(::viskores::cont::internal::HasPrepareForExecution<execObject>::value, \
"Provided type does not have requisite PrepareForExecution method."); \
static_assert(::viskores::cont::internal::HasPrepareForControl<execObject>::value, \
"Provided type does not have requisite PrepareForControl method.")
Checks that the argument is a proper execution object.