[[["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-08-14 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003epromise\u003c/code\u003e class is 2.37.0-rc, and there are numerous previous versions available for reference, ranging back to version 2.10.1.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003epromise\u003c/code\u003e class is a specialization of the ISO/IEC TS 19571:2016 promise, specifically tailored for \u003ccode\u003evoid\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003epromise\u003c/code\u003e objects can be created with or without a shared state, and can be constructed and assigned using move or copy semantics.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eget_future()\u003c/code\u003e function allows for the creation of a \u003ccode\u003efuture<void>\u003c/code\u003e that shares state with the \u003ccode\u003epromise\u003c/code\u003e object, and the \u003ccode\u003eset_value()\u003c/code\u003e function will set the shared state of the promise.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eset_value()\u003c/code\u003e function can throw exceptions such as \u003ccode\u003estd::future_error\u003c/code\u003e, including \u003ccode\u003estd::future_errc::promise_already_satisfied\u003c/code\u003e or \u003ccode\u003estd::no_state\u003c/code\u003e, if there is an issue with the state of the shared object.\u003c/p\u003e\n"]]],[],null,[]]