[[["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 details various versions of the `promise` class, with the latest being version 2.37.0-rc, which you can access via a link provided."],["The `promise` class, based on ISO/IEC TS 19571:2016, allows for the creation of a promise with or without a shared state and offers multiple constructors for different initialization methods."],["The `promise` class offers several functions including `swap`, `get_future`, and `set_value`, each serving to modify the state of a promise and/or access an associated future."],["The `set_value` function is used to satisfy the shared state, but may result in exceptions if the shared state is already satisfied or if the promise doesn't have a shared state."],["The `promise` class also overloads the assignment operator to allow for the transfer of a shared state, which can abandon the current shared state, if there is any."]]],[]]