Namespaces
Variants
Views
Actions

std::nothrow_t

From cppreference.com
< cpp‎ | memory‎ | new
Revision as of 15:54, 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">
struct nothrow_t {};
</td>

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

std::nothrow_t is an empty class type used to disambiguate the overloads of throwing and non-throwing allocation functions.

See also

Template:cpp/memory/new/dcl list nothrowTemplate:cpp/memory/new/dcl list operator new