[[["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 page details the `promise\u003cvoid\u003e` class in C++, a specialization of the promise concept for managing shared states without returning a value, as defined in ISO/IEC TS 19571:2016."],["The latest version available is `2.37.0-rc`, and a list of previous versions are available to view, starting from version `2.36.0` all the way to `2.10.1`."],["The `promise\u003cvoid\u003e` class supports multiple constructors, including those for creating a promise with or without a shared state, and for moving or copying from another promise."],["Key functionalities of the class include the ability to set the value, swap shared states with another promise, and get a corresponding `future\u003cvoid\u003e` object."],["The `set_value()` function is used to satisfy the shared state, but will throw `std::future_error` if the shared state has already been satisfied or if there is no shared state."]]],[]]