[[["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 documentation covers multiple versions of `promise`, ranging from version 2.10.1 to the latest release candidate 2.37.0-rc."],["The `promise` class, based on ISO/IEC TS 19571:2016, facilitates asynchronous operations through shared state management, where it can be created with or without a shared state, or can have the shared state transferred from another `promise`."],["`promise` objects can be constructed using various methods, including default constructors, constructors with a cancellation callback, and constructors that move or copy data, which are then able to have their shared state swapped with another promise."],["The `get_future()` function can create a `future\u003cT\u003e` object linked to the shared state, and `set_value(T)` is used to satisfy this shared state, potentially throwing exceptions if the state is already satisfied or does not exist."],["Operators are provided to transfer or abandon the shared state, like `operator=(promise &&)` and `operator=(promise const &)`."]]],[]]