[[["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 document details the `promise\u003cT\u003e` class implementation, aligned with ISO/IEC TS 19571:2016 standards."],["This class supports the creation of promises with or without a shared state, offering constructors such as `promise()`, `promise(std::function\u003cvoid()\u003e)`, `promise(null_promise_t)`, `promise(promise &&)`, and `promise(promise const &)`."],["Operators like `operator=(promise &&)` and `operator=(promise const &)` manage the shared state transfer and abandonment within promises."],["Key functions include `swap(promise &)` for swapping shared states, `get_future()` to create a future linked to the shared state, and `set_value(T)` to satisfy the promise's shared state."],["The `set_value(T)` function may throw `std::future_error` with specific error codes if the shared state is already satisfied or if no shared state exists."]]],[]]