*/
~TaskDescriptor ();
+ /**
+ * Copy operator. Throws an exception since we want to make sure that
+ * each TaskDescriptor object corresponds to exactly one task.
+ */
+ TaskDescriptor &
+ operator = (const TaskDescriptor &);
+
/**
* Queue up the task to the scheduler. We need to do this in a separate
* function since the new tasks needs to access objects from the current
template <typename RT>
TaskDescriptor<RT>::TaskDescriptor ()
+ :
+ task_is_done (false)
{
Assert (false, ExcInternalError());
}
template <typename RT>
TaskDescriptor<RT>::TaskDescriptor (const TaskDescriptor &)
+ :
+ task_is_done (false)
{
+ // we shouldn't be getting here -- task descriptors
+ // can't be copied
Assert (false, ExcInternalError());
}
}
+ template <typename RT>
+ TaskDescriptor<RT> &
+ TaskDescriptor<RT>::operator = (const TaskDescriptor &)
+ {
+ // we shouldn't be getting here -- task descriptors
+ // can't be copied
+ Assert (false, ExcInternalError());
+ return *this;
+ }
+
+
template <typename RT>
inline
void