Remove unused operator delete overloads (LWG 2458)
authorJonathan Wakely <jwakely@redhat.com>
Tue, 12 Jul 2016 14:31:04 +0000 (15:31 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Tue, 12 Jul 2016 14:31:04 +0000 (15:31 +0100)
* libsupc++/new: Remove nothrow sized deletes (LWG 2458).
* doc/xml/manual/intro.xml: Document DR 2458 status.
* doc/html*: Regenerate.

From-SVN: r238246

libstdc++-v3/ChangeLog
libstdc++-v3/doc/html/manual/bugs.html
libstdc++-v3/doc/xml/manual/intro.xml
libstdc++-v3/libsupc++/new

index a0ae95fbb94dfe6c690fd70cc0d190db94c8803a..9fe53c209478c295f9f6b39e7871c2fbefe1bdae 100644 (file)
@@ -1,5 +1,9 @@
 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/23_containers/array/tuple_interface/tuple_element.cc:
        Only include <array>.
index 664d3925a36c4b55d8de4bfe9ccf6a1214e5c20c..55964b32fb0a1b8f09914100a6d58fd1d9506380 100644 (file)
        <span class="emphasis"><em>Allocator default construction should be allowed to throw
        </em></span>
     </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>:
        <span class="emphasis"><em><code class="code">std::polar</code> should require a non-negative rho
        </em></span>
index a47a3ecc4bafd5365d647f6ea393754068f3bce0..7b836cddfbf4e26e62fe4aaf3dad4df5dae812c8 100644 (file)
@@ -1019,6 +1019,13 @@ requirements of the license of GCC.
     <listitem><para>Make <code>noexcept</code> specifications conditional.
     </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>:
        <emphasis><code>std::polar</code> should require a non-negative rho
        </emphasis>
index 5cd62695be25e80385079f295233680ade445ce2..8e8a3272a8d43d7c0dc66ae3d95a9a0bd50cc5af 100644 (file)
@@ -135,12 +135,6 @@ void operator delete(void*, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT
   __attribute__((__externally_visible__));
 void operator delete[](void*, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT
   __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.
 inline void* operator new(std::size_t, void* __p) _GLIBCXX_USE_NOEXCEPT