[[["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 various versions of `promise` from version 2.10.1 up to the latest release candidate 2.37.0-rc, including all versions in between."],["The `promise` class is based on the ISO/IEC TS 19571:2016 standard, and it manages a shared state that can be either satisfied or unsatisfied."],["There are multiple constructors available for creating a `promise` object, including ones that allow for a cancellation callback, or that result in no shared state, and also move and copy constructors."],["The `promise` object offers functions for swapping shared states (`swap`), creating a future (`get_future`), and satisfying the shared state with a value (`set_value`)."],["The `set_value` function can throw `std::future_error` exceptions if the shared state is already satisfied, or if there is no shared state in the promise."]]],[]]