[[["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 latest version of the `promise` class is `2.37.0-rc`, with numerous previous versions available, ranging from `2.36.0` down to `2.10.1`."],["This `promise` class implements the ISO/IEC TS 19571:2016 `promise\u003cT\u003e` standard, offering a standardized approach to handling asynchronous operations."],["The `promise` class offers several constructors, including creating a promise with an unsatisfied shared state, with a cancellation callback, or even without a shared state using `null_promise_t`."],["The `promise` class provides methods to manage its shared state, such as `swap()`, which swaps the shared state with another promise, and `get_future()` which creates the associated future, and `set_value()` to fullfill the promise."],["The `set_value()` method, for satisfying the shared state, may throw a `std::future_error` if the state is already satisfied or doesn't exist."]]],[]]