Sophie

Sophie

distrib > Mageia > 4 > i586 > by-pkgid > f0832865ec1f56b99d190174ffc30cd0 > files > 2824

libstdc++-docs-4.8.2-3.mga4.noarch.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>libstdc++: new File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">libstdc++
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('a01379.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#namespaces">Namespaces</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">new File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><a href="a01379_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00636.html">std::bad_alloc</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:a01662"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01662.html">std</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:a6e94c520dbda433af9abd4eea9dcd250"><td class="memItemLeft" align="right" valign="top">typedef void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01662.html#a6e94c520dbda433af9abd4eea9dcd250">std::new_handler</a> )()</td></tr>
<tr class="separator:a6e94c520dbda433af9abd4eea9dcd250"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a08ab821429d6f9fd2f16f642de3e9163"><td class="memItemLeft" align="right" valign="top">new_handler&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01662.html#a08ab821429d6f9fd2f16f642de3e9163">std::set_new_handler</a> (new_handler)  throw ()</td></tr>
<tr class="separator:a08ab821429d6f9fd2f16f642de3e9163"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr class="memitem:a87dd0f2d68609d8cb10074e88a3f5616"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01379.html#a87dd0f2d68609d8cb10074e88a3f5616">operator new</a> (std::size_t) __attribute__((__externally_visible__))</td></tr>
<tr class="separator:a87dd0f2d68609d8cb10074e88a3f5616"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab7d9eb6ec41693e1f516bdae8e2eab28"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01379.html#ab7d9eb6ec41693e1f516bdae8e2eab28">operator new[]</a> (std::size_t) __attribute__((__externally_visible__))</td></tr>
<tr class="separator:ab7d9eb6ec41693e1f516bdae8e2eab28"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a97d405b67ae977bca98e612fc9f81dd9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01379.html#a97d405b67ae977bca98e612fc9f81dd9">operator delete</a> (void *) noexcept __attribute__((__externally_visible__))</td></tr>
<tr class="separator:a97d405b67ae977bca98e612fc9f81dd9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac15dc62eb64a3db956da5b1c1b5615d3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01379.html#ac15dc62eb64a3db956da5b1c1b5615d3">operator delete[]</a> (void *) noexcept __attribute__((__externally_visible__))</td></tr>
<tr class="separator:ac15dc62eb64a3db956da5b1c1b5615d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a542c61605d4c51b703ff6a4780a7dfb4"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01379.html#a542c61605d4c51b703ff6a4780a7dfb4">operator new</a> (std::size_t, const std::nothrow_t &amp;) noexcept __attribute__((__externally_visible__))</td></tr>
<tr class="separator:a542c61605d4c51b703ff6a4780a7dfb4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a21bfcde67c743a1a2287e842bdc7af8d"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01379.html#a21bfcde67c743a1a2287e842bdc7af8d">operator new[]</a> (std::size_t, const std::nothrow_t &amp;) noexcept __attribute__((__externally_visible__))</td></tr>
<tr class="separator:a21bfcde67c743a1a2287e842bdc7af8d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3180b04385e1f798caf4af08c2e2dd9a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01379.html#a3180b04385e1f798caf4af08c2e2dd9a">operator delete</a> (void *, const std::nothrow_t &amp;) noexcept __attribute__((__externally_visible__))</td></tr>
<tr class="separator:a3180b04385e1f798caf4af08c2e2dd9a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5cb154dbee09700b3e6a9be7f95e698e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01379.html#a5cb154dbee09700b3e6a9be7f95e698e">operator delete[]</a> (void *, const std::nothrow_t &amp;) noexcept __attribute__((__externally_visible__))</td></tr>
<tr class="separator:a5cb154dbee09700b3e6a9be7f95e698e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7266c02fbd2a435679e6c07c93ad9979"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01379.html#a7266c02fbd2a435679e6c07c93ad9979">operator new</a> (std::size_t, void *__p) noexcept</td></tr>
<tr class="separator:a7266c02fbd2a435679e6c07c93ad9979"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a64323ac4a634756c7892bf1f9702c486"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01379.html#a64323ac4a634756c7892bf1f9702c486">operator new[]</a> (std::size_t, void *__p) noexcept</td></tr>
<tr class="separator:a64323ac4a634756c7892bf1f9702c486"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a39fac79c27e30348bee194c4fca4814c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01379.html#a39fac79c27e30348bee194c4fca4814c">operator delete</a> (void *, void *) noexcept</td></tr>
<tr class="separator:a39fac79c27e30348bee194c4fca4814c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa73513101c30d057abb0e9f683f67aa8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01379.html#aa73513101c30d057abb0e9f683f67aa8">operator delete[]</a> (void *, void *) noexcept</td></tr>
<tr class="separator:aa73513101c30d057abb0e9f683f67aa8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:ae4b7b14b5246bacb54f2a4ae366ccd44"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae4b7b14b5246bacb54f2a4ae366ccd44"></a>
const nothrow_t&#160;</td><td class="memItemRight" valign="bottom"><b>std::nothrow</b></td></tr>
<tr class="separator:ae4b7b14b5246bacb54f2a4ae366ccd44"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>This is a Standard C++ Library header.</p>
<p>The header <code>new</code> defines several functions to manage dynamic memory and handling memory allocation errors; see <a href="http://gcc.gnu.org/onlinedocs/libstdc++/18_support/howto.html#4">http://gcc.gnu.org/onlinedocs/libstdc++/18_support/howto.html#4</a> for more. </p>

<p>Definition in file <a class="el" href="a01379_source.html">new</a>.</p>
</div><h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="a97d405b67ae977bca98e612fc9f81dd9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void operator delete </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>These are replaceable signatures:</p>
<ul>
<li>normal single new and delete (no arguments, throw <code>bad_alloc</code> on error)</li>
<li>normal array new and delete (same)</li>
<li><code>nothrow</code> single new and delete (take a <code>nothrow</code> argument, return <code>NULL</code> on error)</li>
<li><code>nothrow</code> array new and delete (same)</li>
</ul>
<p>Placement new and delete signatures (take a memory address argument, does nothing) may not be replaced by a user's program. </p>

</div>
</div>
<a class="anchor" id="a3180b04385e1f798caf4af08c2e2dd9a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void operator delete </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::nothrow_t &amp;&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>These are replaceable signatures:</p>
<ul>
<li>normal single new and delete (no arguments, throw <code>bad_alloc</code> on error)</li>
<li>normal array new and delete (same)</li>
<li><code>nothrow</code> single new and delete (take a <code>nothrow</code> argument, return <code>NULL</code> on error)</li>
<li><code>nothrow</code> array new and delete (same)</li>
</ul>
<p>Placement new and delete signatures (take a memory address argument, does nothing) may not be replaced by a user's program. </p>

</div>
</div>
<a class="anchor" id="a39fac79c27e30348bee194c4fca4814c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void operator delete </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>These are replaceable signatures:</p>
<ul>
<li>normal single new and delete (no arguments, throw <code>bad_alloc</code> on error)</li>
<li>normal array new and delete (same)</li>
<li><code>nothrow</code> single new and delete (take a <code>nothrow</code> argument, return <code>NULL</code> on error)</li>
<li><code>nothrow</code> array new and delete (same)</li>
</ul>
<p>Placement new and delete signatures (take a memory address argument, does nothing) may not be replaced by a user's program. </p>

<p>Definition at line <a class="el" href="a01379_source.html#l00115">115</a> of file <a class="el" href="a01379_source.html">new</a>.</p>

</div>
</div>
<a class="anchor" id="ac15dc62eb64a3db956da5b1c1b5615d3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void operator delete[] </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>These are replaceable signatures:</p>
<ul>
<li>normal single new and delete (no arguments, throw <code>bad_alloc</code> on error)</li>
<li>normal array new and delete (same)</li>
<li><code>nothrow</code> single new and delete (take a <code>nothrow</code> argument, return <code>NULL</code> on error)</li>
<li><code>nothrow</code> array new and delete (same)</li>
</ul>
<p>Placement new and delete signatures (take a memory address argument, does nothing) may not be replaced by a user's program. </p>

</div>
</div>
<a class="anchor" id="a5cb154dbee09700b3e6a9be7f95e698e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void operator delete[] </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::nothrow_t &amp;&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>These are replaceable signatures:</p>
<ul>
<li>normal single new and delete (no arguments, throw <code>bad_alloc</code> on error)</li>
<li>normal array new and delete (same)</li>
<li><code>nothrow</code> single new and delete (take a <code>nothrow</code> argument, return <code>NULL</code> on error)</li>
<li><code>nothrow</code> array new and delete (same)</li>
</ul>
<p>Placement new and delete signatures (take a memory address argument, does nothing) may not be replaced by a user's program. </p>

</div>
</div>
<a class="anchor" id="aa73513101c30d057abb0e9f683f67aa8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void operator delete[] </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>These are replaceable signatures:</p>
<ul>
<li>normal single new and delete (no arguments, throw <code>bad_alloc</code> on error)</li>
<li>normal array new and delete (same)</li>
<li><code>nothrow</code> single new and delete (take a <code>nothrow</code> argument, return <code>NULL</code> on error)</li>
<li><code>nothrow</code> array new and delete (same)</li>
</ul>
<p>Placement new and delete signatures (take a memory address argument, does nothing) may not be replaced by a user's program. </p>

<p>Definition at line <a class="el" href="a01379_source.html#l00116">116</a> of file <a class="el" href="a01379_source.html">new</a>.</p>

</div>
</div>
<a class="anchor" id="a87dd0f2d68609d8cb10074e88a3f5616"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* operator new </td>
          <td>(</td>
          <td class="paramtype">std::size_t&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>These are replaceable signatures:</p>
<ul>
<li>normal single new and delete (no arguments, throw <code>bad_alloc</code> on error)</li>
<li>normal array new and delete (same)</li>
<li><code>nothrow</code> single new and delete (take a <code>nothrow</code> argument, return <code>NULL</code> on error)</li>
<li><code>nothrow</code> array new and delete (same)</li>
</ul>
<p>Placement new and delete signatures (take a memory address argument, does nothing) may not be replaced by a user's program. </p>

</div>
</div>
<a class="anchor" id="a542c61605d4c51b703ff6a4780a7dfb4"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void* operator new </td>
          <td>(</td>
          <td class="paramtype">std::size_t&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::nothrow_t &amp;&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>These are replaceable signatures:</p>
<ul>
<li>normal single new and delete (no arguments, throw <code>bad_alloc</code> on error)</li>
<li>normal array new and delete (same)</li>
<li><code>nothrow</code> single new and delete (take a <code>nothrow</code> argument, return <code>NULL</code> on error)</li>
<li><code>nothrow</code> array new and delete (same)</li>
</ul>
<p>Placement new and delete signatures (take a memory address argument, does nothing) may not be replaced by a user's program. </p>

</div>
</div>
<a class="anchor" id="a7266c02fbd2a435679e6c07c93ad9979"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void* operator new </td>
          <td>(</td>
          <td class="paramtype">std::size_t&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>__p</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>These are replaceable signatures:</p>
<ul>
<li>normal single new and delete (no arguments, throw <code>bad_alloc</code> on error)</li>
<li>normal array new and delete (same)</li>
<li><code>nothrow</code> single new and delete (take a <code>nothrow</code> argument, return <code>NULL</code> on error)</li>
<li><code>nothrow</code> array new and delete (same)</li>
</ul>
<p>Placement new and delete signatures (take a memory address argument, does nothing) may not be replaced by a user's program. </p>

<p>Definition at line <a class="el" href="a01379_source.html#l00109">109</a> of file <a class="el" href="a01379_source.html">new</a>.</p>

</div>
</div>
<a class="anchor" id="ab7d9eb6ec41693e1f516bdae8e2eab28"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* operator new[] </td>
          <td>(</td>
          <td class="paramtype">std::size_t&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>These are replaceable signatures:</p>
<ul>
<li>normal single new and delete (no arguments, throw <code>bad_alloc</code> on error)</li>
<li>normal array new and delete (same)</li>
<li><code>nothrow</code> single new and delete (take a <code>nothrow</code> argument, return <code>NULL</code> on error)</li>
<li><code>nothrow</code> array new and delete (same)</li>
</ul>
<p>Placement new and delete signatures (take a memory address argument, does nothing) may not be replaced by a user's program. </p>

</div>
</div>
<a class="anchor" id="a21bfcde67c743a1a2287e842bdc7af8d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void* operator new[] </td>
          <td>(</td>
          <td class="paramtype">std::size_t&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::nothrow_t &amp;&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>These are replaceable signatures:</p>
<ul>
<li>normal single new and delete (no arguments, throw <code>bad_alloc</code> on error)</li>
<li>normal array new and delete (same)</li>
<li><code>nothrow</code> single new and delete (take a <code>nothrow</code> argument, return <code>NULL</code> on error)</li>
<li><code>nothrow</code> array new and delete (same)</li>
</ul>
<p>Placement new and delete signatures (take a memory address argument, does nothing) may not be replaced by a user's program. </p>

</div>
</div>
<a class="anchor" id="a64323ac4a634756c7892bf1f9702c486"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void* operator new[] </td>
          <td>(</td>
          <td class="paramtype">std::size_t&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>__p</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>These are replaceable signatures:</p>
<ul>
<li>normal single new and delete (no arguments, throw <code>bad_alloc</code> on error)</li>
<li>normal array new and delete (same)</li>
<li><code>nothrow</code> single new and delete (take a <code>nothrow</code> argument, return <code>NULL</code> on error)</li>
<li><code>nothrow</code> array new and delete (same)</li>
</ul>
<p>Placement new and delete signatures (take a memory address argument, does nothing) may not be replaced by a user's program. </p>

<p>Definition at line <a class="el" href="a01379_source.html#l00111">111</a> of file <a class="el" href="a01379_source.html">new</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_1cb51993401f6a06549317f0d74dc9d1.html">libstdc++-v3</a></li><li class="navelem"><a class="el" href="dir_73e678c578b2f95de56d59e484319b2c.html">libsupc++</a></li><li class="navelem"><a class="el" href="a01379.html">new</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.5 </li>
  </ul>
</div>
</body>
</html>