std::make_error_code(std::io_errc)
From cppreference.com
Template:cpp/io/io errc/sidebar
Defined in header <ios>
|
||
std::error_code make_error_code( std::io_errc e ); |
(since C++11) | |
Constructs an Template:cpp object from a value of type Template:cpp as if by Template:cpp. This function is called by the constructor of Template:cpp when given an Template:cpp argument.
Contents |
Parameters
e | - | error code number |
Return value
A value of type Template:cpp that holds the error code number from e
associated with the error category Template:cpp.