futures/packaged_task.hpp
Packaged task as a promise.
#include <futures/packaged_task.hpp>
Namespaces
Name | Description |
---|---|
futures | Main library namespace. |
Classes
Classes | Description |
---|---|
packaged_task< R(Args...), Options > | A packaged task that sets a shared state when done. (class) |
Description
This file defines packaged tasks we can use to represent a task and a promise. These objects can be used to set promises manually.
Updated on 2023-01-04