[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-05 UTC."],[[["The webpage provides documentation for various versions of a `promise` class, ranging from the latest release candidate, version 2.37.0-rc, down to version 2.10.1."],["The `promise` class is specialized for `void` and uses an unsatisfied shared state by default, which is a construct that allows for the management of a single shared result between a *promise* and a *future*."],["The class supports several constructors, including ones for creating promises with or without a shared state, and ones that allow the transfer of shared states from other promises."],["The class also provides operators for moving and copying shared states, a `swap()` function to exchange shared states with another promise, and a `get_future()` function to obtain a future object associated with the shared state."],["The `set_value()` function satisfies the shared state, and throws a `std::future_error` if the state is already satisfied or if the promise has no shared state."]]],[]]