[[["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 documentation provides a comprehensive overview of the `promise\u003cT\u003e` class, which is an implementation of the ISO/IEC TS 19571:2016 standard."],["The `promise\u003cT\u003e` class offers multiple constructors, including options for creating promises with or without a shared state, as well as constructors that transfer shared states."],["It supports operators like assignment operators which transfer shared states, and functions such as `swap` that allows swapping of shared states with another promise object."],["The class provides essential functions like `get_future()`, which creates a `future\u003cT\u003e` linked to the same shared state, and `set_value(T)` to satisfy the shared state."],["The `set_value(T)` function throws `std::future_error` with `std::future_errc::promise_already_satisfied` if the shared state has already been satisfied or `std::no_state` if there is no shared state."]]],[]]