Commit 7cbadfdc by Jonathan Wakely Committed by Jonathan Wakely

Remove unused operator delete overloads (LWG 2458)

	* libsupc++/new: Remove nothrow sized deletes (LWG 2458).
	* doc/xml/manual/intro.xml: Document DR 2458 status.
	* doc/html*: Regenerate.

From-SVN: r238246
parent 1b1c16e0
2016-07-12 Jonathan Wakely <jwakely@redhat.com> 2016-07-12 Jonathan Wakely <jwakely@redhat.com>
* libsupc++/new: Remove nothrow sized deletes (LWG 2458).
* doc/xml/manual/intro.xml: Document DR 2458 status.
* doc/html*: Regenerate.
* testsuite/20_util/pair/astuple/astuple.cc: Only include <utility>. * testsuite/20_util/pair/astuple/astuple.cc: Only include <utility>.
* testsuite/23_containers/array/tuple_interface/tuple_element.cc: * testsuite/23_containers/array/tuple_interface/tuple_element.cc:
Only include <array>. Only include <array>.
......
...@@ -454,6 +454,10 @@ ...@@ -454,6 +454,10 @@
<span class="emphasis"><em>Allocator default construction should be allowed to throw <span class="emphasis"><em>Allocator default construction should be allowed to throw
</em></span> </em></span>
</span></dt><dd><p>Make <code class="code">noexcept</code> specifications conditional. </span></dt><dd><p>Make <code class="code">noexcept</code> specifications conditional.
</p></dd><dt><span class="term"><a class="link" href="../ext/lwg-defects.html#2458" target="_top">2458</a>:
<span class="emphasis"><em>N3778 and new library deallocation signatures
</em></span>
</span></dt><dd><p>Remove unused overloads.
</p></dd><dt><span class="term"><a class="link" href="../ext/lwg-defects.html#2459" target="_top">2459</a>: </p></dd><dt><span class="term"><a class="link" href="../ext/lwg-defects.html#2459" target="_top">2459</a>:
<span class="emphasis"><em><code class="code">std::polar</code> should require a non-negative rho <span class="emphasis"><em><code class="code">std::polar</code> should require a non-negative rho
</em></span> </em></span>
......
...@@ -1019,6 +1019,13 @@ requirements of the license of GCC. ...@@ -1019,6 +1019,13 @@ requirements of the license of GCC.
<listitem><para>Make <code>noexcept</code> specifications conditional. <listitem><para>Make <code>noexcept</code> specifications conditional.
</para></listitem></varlistentry> </para></listitem></varlistentry>
<varlistentry><term><link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="../ext/lwg-defects.html#2458">2458</link>:
<emphasis>N3778 and new library deallocation signatures
</emphasis>
</term>
<listitem><para>Remove unused overloads.
</para></listitem></varlistentry>
<varlistentry><term><link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="../ext/lwg-defects.html#2459">2459</link>: <varlistentry><term><link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="../ext/lwg-defects.html#2459">2459</link>:
<emphasis><code>std::polar</code> should require a non-negative rho <emphasis><code>std::polar</code> should require a non-negative rho
</emphasis> </emphasis>
......
...@@ -135,12 +135,6 @@ void operator delete(void*, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT ...@@ -135,12 +135,6 @@ void operator delete(void*, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT
__attribute__((__externally_visible__)); __attribute__((__externally_visible__));
void operator delete[](void*, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT void operator delete[](void*, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT
__attribute__((__externally_visible__)); __attribute__((__externally_visible__));
#if __cpp_sized_deallocation
void operator delete(void*, std::size_t, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT
__attribute__((__externally_visible__));
void operator delete[](void*, std::size_t, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT
__attribute__((__externally_visible__));
#endif
// Default placement versions of operator new. // Default placement versions of operator new.
inline void* operator new(std::size_t, void* __p) _GLIBCXX_USE_NOEXCEPT inline void* operator new(std::size_t, void* __p) _GLIBCXX_USE_NOEXCEPT
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment