Share via


future_errc Enumeration

Supplies symbolic names for all of the errors that are reported by the future_error class.

enum class future_errc {
   broken_promise,
   future_already_retrieved,
   promise_already_satisfied,
   no_state
};

Requirements

Header: future

Namespace: std::future_errc

See Also

Reference

<future>

Other Resources

C++ Standard Library Header Files