22 lines
690 B
Markdown
22 lines
690 B
Markdown
[futures.overview]
|
||
|
||
# 32 Concurrency support library [[thread]](./#thread)
|
||
|
||
## 32.10 Futures [[futures]](futures#overview)
|
||
|
||
### 32.10.1 Overview [futures.overview]
|
||
|
||
[1](#1)
|
||
|
||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/threads.tex#L11126)
|
||
|
||
[[futures]](futures "32.10 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[.](#1.sentence-1)
|
||
|
||
[*Note [1](#note-1)*:
|
||
|
||
These components are not restricted to multi-threaded programs but can be useful in
|
||
single-threaded programs as well[.](#1.sentence-2)
|
||
|
||
â *end note*]
|