std::future_errc
From cppreference.com
| Defined in header <future>
|
||
| enum class future_errc { broken_promise = /* implementation-defined */, |
(since C++11) | |
The scoped enumeration std::future_errc defines the error codes reported by std::future and related classes in std::future_error exception objects. Only four error codes are required, although the implementation may define additional error codes. Because the appropriate specialization of std::is_error_code_enum is provided, values of type std::future_errc are implicitly convertible to std::error_code.
All error codes are distinct and non-zero.
Contents |