[[["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 document details various versions of `promise` within the Google Cloud C++ library, ranging from version 2.10.1 to the latest release candidate 2.37.0-rc."],["It outlines the functionality of the `promise` class, which implements ISO/IEC TS 19571:2016, including constructors to create promises with or without a shared state."],["The `promise` class includes methods like `get_future()`, which creates a corresponding `future\u003cT\u003e` object, and `set_value(T)`, which satisfies the shared state with a given value."],["The document also specifies operators for assignment, such as `operator=(promise &&)` and `operator=(promise const &)`, as well as a function `swap(promise &)` for exchanging shared states."],["There are defined exceptions for `set_value(T)`, including throwing a `std::future_error` if the state is already satisfied or doesn't exist."]]],[]]