Namespaces
Variants
Views
Actions

std::get_unexpected

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

 
 
 
 

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

<td>
Defined in header <exception>
</td>

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

<td >
std::unexpected_handler get_unexpected();
</td>

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

Returns the currently installed std::unexpected_handler, which may be a null pointer.

Contents

Parameters

(none)

Return value

The currently installed std::unexpected_handler.

Exceptions

noexcept specification:  
noexcept
  

See also

Template:cpp/error/dcl list unexpected handlerTemplate:cpp/error/dcl list set unexpected