Namespaces
Variants
Views
Actions

std::make_error_condition(std::io_errc)

From cppreference.com
< cpp‎ | io‎ | io errc
Revision as of 07:45, 11 January 2012 by Cubbi (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template:cpp/io/io errc/sidebar

Defined in header <ios>
std::error_condition make_error_condition( std::io_errc e );
(since C++11)

Constructs an Template:cpp object from a value of type Template:cpp as if by Template:cpp.

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