Namespaces
Variants
Views
Actions

std::make_error_code(std::io_errc)

From cppreference.com
< cpp‎ | io‎ | io errc
Revision as of 10:09, 28 March 2012 by P12 (Talk | contribs)

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 code/dcl list make error codeTemplate:cpp/error/system error/dcl list error codeTemplate:cpp/io/dcl list io errc