[[["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."],[[["This page details the `promise\u003cT\u003e` class implementation, compliant with ISO/IEC TS 19571:2016."],["The documentation covers various versions of the `promise` class, with version 2.37.0-rc being the latest."],["The `promise` class supports multiple constructors, including one for creating a promise with an unsatisfied shared state, one with a cancellation callback, one without a shared state and move/copy constructors."],["The `promise` class provides functions like `swap`, `get_future`, and `set_value` to manage and interact with the shared state."],["The `set_value` function may throw a `std::future_error` if the shared state is already satisfied or if there is no shared state."]]],[]]