Namespaces
Variants
Views
Actions

std::error_condition::operator bool

From cppreference.com
< cpp‎ | error‎ | error condition
Revision as of 04:54, 2 December 2012 by P12 (Talk | contribs)

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

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

<td >
explicit operator bool() const;
</td>

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

Checks whether the stored error code is not zero.

Parameters

(none)

Return value

true if value != 0, false otherwise.

Exceptions

noexcept specification:  
noexcept