Namespaces
Variants
Views
Actions

std::error_code::clear

From cppreference.com
< cpp‎ | error‎ | error code
Revision as of 16:25, 2 November 2012 by P12bot (Talk | contribs)

 
 
 
 
 

Template:ddcl list begin <tr class="t-dcl-sep"><td></td><td></td><td></td></tr>

<tr class="t-dcl ">

<td >
void clear();
</td>

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

Replaces the error code and error category with default values.

Equivalent to *this = error_code(0, std::system_category()).

Parameters

(none)

Return value

(none)

Exceptions

noexcept specification:  
noexcept