Namespaces
Variants
Views
Actions

Difference between revisions of "cpp/io/io errc/make error code"

From cppreference.com
< cpp‎ | io‎ | io errc
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.

Example

Template:example cpp

See also

Template:cpp/error/system error/error condition/dcl list make error codeTemplate:cpp/error/system error/dcl list error codeTemplate:cpp/io/dcl list io errc