|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Non-member functions | ||||
make_error_code | ||||
| Helper classes | ||||
Defined in header <future> | ||
std::error_code make_error_code(std::future_errc e); | (since C++11) | |
Constructs anstd::error_code object from a value of typestd::future_errc as if by:
std::error_code(static_cast<int>(e),std::future_category()).
This function is called by the constructor ofstd::error_code when given anstd::future_errc argument.
Contents |
| e | - | error code number |
A value of typestd::error_code that holds the error code number frome associated with the error category"future".
| This section is incomplete Reason: no example |
(C++11) | holds a platform-dependent error code (class)[edit] |
(C++11) | identifies the future error codes (enum)[edit] |
(C++11) | creates error code value forerrc enume(function)[edit] |
| constructs an iostream error code (function)[edit] |