header
<future>
Future
Header with facilities that allow asynchronous access to values set by specific providers, possibly in a different thread.
Each of these providers (which are either promise or packaged_task objects, or calls to async) share access to a shared state with a future object: the point where the provider makes the shared state ready is synchronized with the point the future object accesses the shared state.
Classes
Providers
- promise
- Promise (class template
)
- packaged_task
- Packaged task (class template
)
Futures
- future
- Future (class template
)
- shared_future
- Shared future (class template
)
Other types
- future_error
- Future error exception (class
)
- future_errc
- Error conditions for future objects (enum class
)
- future_status
- Return value for timed future operations (enum class
)
- launch
- Launching policy for async (enum class
)
Functions
Providers
- async
- Call function asynchronously (function template
)
Other functions
- future_category
- Return future category (function
)
classes:
enum classes:
functions: