Generic implementation of a Deleter, it often comes up that one has to call a function to cleanup after a Task finished this can be done by capturing a TDeleter like so: Deleter(LowLevelTasks::TDeleter(value)){}