[[["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 release candidate for this C++ `promise` class is version 2.37.0-rc, with multiple previous versions, including 2.36.0 through 2.10.1, also available."],["This `promise` class, implemented according to ISO/IEC TS 19571:2016, facilitates creating promises with or without a shared state using various constructors, including null, copy, and move constructors."],["The `promise` class provides operators like `operator=` for assignment, and functions such as `swap`, `get_future`, and `set_value` to manage and interact with the shared state of the promise."],["The `set_value` function may throw a `std::future_error` exception, specifically `std::future_errc::promise_already_satisfied` or `std::no_state`, depending on whether the state is already satisfied or if the promise does not have a shared state."]]],[]]