void operator()(Args... args);
exception type | error condition | description |
---|---|---|
future_error | future_errc::no_state | The object has no shared state (it is a default-constructed packaged_task) |
future_error | future_errc::promise_already_satisfied | The stored task has already been called |