[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-14 UTC."],[[["\u003cp\u003eThe latest release candidate for this C++ \u003ccode\u003epromise\u003c/code\u003e class is version 2.37.0-rc, with multiple previous versions, including 2.36.0 through 2.10.1, also available.\u003c/p\u003e\n"],["\u003cp\u003eThis \u003ccode\u003epromise\u003c/code\u003e class, implemented according to ISO/IEC TS 19571:2016, facilitates creating promises with or without a shared state using various constructors, including null, copy, and move constructors.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003epromise\u003c/code\u003e class provides operators like \u003ccode\u003eoperator=\u003c/code\u003e for assignment, and functions such as \u003ccode\u003eswap\u003c/code\u003e, \u003ccode\u003eget_future\u003c/code\u003e, and \u003ccode\u003eset_value\u003c/code\u003e to manage and interact with the shared state of the promise.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eset_value\u003c/code\u003e function may throw a \u003ccode\u003estd::future_error\u003c/code\u003e exception, specifically \u003ccode\u003estd::future_errc::promise_already_satisfied\u003c/code\u003e or \u003ccode\u003estd::no_state\u003c/code\u003e, depending on whether the state is already satisfied or if the promise does not have a shared state.\u003c/p\u003e\n"]]],[],null,[]]