Files
cppdraft_translate/cppdraft/futures/overview.md
2025-10-25 03:02:53 +03:00

690 B

[futures.overview]

32 Concurrency support library [thread]

32.10 Futures [futures]

32.10.1 Overview [futures.overview]

1

#

[futures] describes components that a C++ program can use to retrieve in one thread the result (value or exception) from a function that has run in the same thread or another thread.

[Note 1:

These components are not restricted to multi-threaded programs but can be useful in single-threaded programs as well.

— end note]