Namespaces
Variants
Views
Actions

std::new_handler

From cppreference.com
< cpp‎ | memory‎ | new
Revision as of 16:56, 2 November 2012 by P12bot (Talk | contribs)

 
 
 
 
 

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

<td>
Defined in header <new>
</td>

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

<td class="t-dcl-nopad">
typedef void (*new_handler)();
</td>

<td class="t-dcl-nopad"> </td> <td class="t-dcl-nopad"> </td> </tr> Template:ddcl list end

std::new_handler is the function pointer type (pointer to function that takes no arguments and returns void), which is used by the functions std::set_new_handler and std::get_new_handler

See also

Template:cpp/memory/new/dcl list operator newTemplate:cpp/memory/new/dcl list set new handlerTemplate:cpp/memory/new/dcl list get new handler