Skip to content

futures::broken_promise

Futures / Error / broken_promise

Defined in header <futures/error.hpp>

class broken_promise;

The state owner got destroyed before the promise has been fulfilled.

Inherits from error, std::system_error

Public Functions

Member Functions Description
(constructor) (function)

Additional inherited members

Public Functions(inherited from futures::error)

Member Functions Description
error Constructor.
(function template)
~error override = default Destructor.
(function)

Public Functions

function broken_promise

Defined in header <futures/error.hpp>

broken_promise();

Exception Safety

Basic exception guarantee.


Updated on 2023-01-04