Difference between revisions of "cpp/io/io errc/make error code"
From cppreference.com
m (typo) |
m (helper function moved) |
||
Line 33: | Line 33: | ||
===See also=== | ===See also=== | ||
{{dcl list begin}} | {{dcl list begin}} | ||
− | {{dcl list template | cpp/error/system_error/dcl list make_error_code}} | + | {{dcl list template | cpp/error/system_error/error_condition/dcl list make_error_code}} |
{{dcl list template | cpp/error/system_error/dcl list error_code}} | {{dcl list template | cpp/error/system_error/dcl list error_code}} | ||
{{dcl list template | cpp/io/dcl list io_errc}} | {{dcl list template | cpp/io/dcl list io_errc}} | ||
{{dcl list end}} | {{dcl list end}} |
Revision as of 08:25, 11 January 2012
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.