Namespaces
Variants
Views
Actions

std::make_error_condition

From cppreference.com
< cpp‎ | error‎ | errc
Revision as of 05:15, 2 December 2012 by P12 (Talk | contribs)

 
 
 
 
 

Template:ddcl list begin <tr class="t-dsc-header">

<td>
Defined in header <system_error>
</td>

<td></td> <td></td> <tr class="t-dcl ">

<td >
std::error_condition make_error_condition( std::errc e );
</td>

<td class="t-dcl-nopad"> </td> <td > (since C++11) </td> </tr> Template:ddcl list end

Creates an error condition for an errc value e. Sets the error code to int(e) and error category to std::generic_category.

Parameters

e - standard error code

Return value

Error condition for e.

Exceptions

noexcept specification:  
noexcept