[[["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 version available is 2.37.0-rc, with numerous previous versions from 2.36.0 down to 2.10.1 also available for reference."],["This page documents the `promise` class, which specializes in handling promises for `void` types, as defined by the ISO/IEC TS 19571:2016 standard."],["The `promise` class supports creating promises with or without a shared state, and also allows the transfer of a shared state between promises using move semantics."],["Key functionalities of the `promise` class include the ability to obtain a `future\u003cvoid\u003e` object via `get_future()` and satisfy the shared state using `set_value()`, which may throw `std::future_error` in certain cases."],["The class contains a large set of operators and functions, such as swap, operator=, and multiple constructors, allowing for comprehensive control of the shared state and it's handling."]]],[]]