Statements (28)
| Predicate | Object |
|---|---|
| gptkbp:instanceOf |
gptkb:C++_Standard_Library_class_template
|
| gptkbp:canBeCopiedBy |
no
|
| gptkbp:canBeMoved |
yes
|
| gptkbp:copyAssignable |
no
|
| gptkbp:copyConstructible |
no
|
| gptkbp:defaultConstructible |
yes
|
| gptkbp:definedIn |
<future> header
|
| gptkbp:destructorEffect |
sets broken_promise if value not set
|
| gptkbp:function |
get_future
set_exception set_value set_value_at_thread_exit |
| gptkbp:introducedIn |
gptkb:C++11
|
| gptkbp:moveAssignable |
yes
|
| gptkbp:moveConstructible |
yes
|
| gptkbp:namespace |
std
|
| gptkbp:parameter |
T (value type)
|
| gptkbp:provides |
mechanism to set value or exception for std::future
|
| gptkbp:relatedException |
gptkb:std::broken_promise
gptkb:std::future_error std::promise_already_satisfied |
| gptkbp:threadSafe |
no
|
| gptkbp:usedFor |
gptkb:std::future
|
| gptkbp:uses |
thread synchronization
asynchronous result communication |
| gptkbp:bfsParent |
gptkb:C++11
|
| gptkbp:bfsLayer |
6
|
| https://www.w3.org/2000/01/rdf-schema#label |
std::promise
|