[PATCH] Remove unused operator delete overloads (LWG 2458)
Jonathan Wakely
jwakely@redhat.com
Tue Jul 12 15:59:00 GMT 2016
* libsupc++/new: Remove nothrow sized deletes (LWG 2458).
* doc/xml/manual/intro.xml: Document DR 2458 status.
* doc/html*: Regenerate.
Tested x86_64-linux, committed to trunk.
-------------- next part --------------
commit b5a6c1e6027f23c5501e9767821711d4506f9412
Author: redi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Tue Jul 12 14:31:04 2016 +0000
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@238246 138bc75d-0d04-0410-961f-82ee72b054a4
diff --git a/libstdc++-v3/doc/xml/manual/intro.xml b/libstdc++-v3/doc/xml/manual/intro.xml
index a47a3ec..7b836cd 100644
--- a/libstdc++-v3/doc/xml/manual/intro.xml
+++ b/libstdc++-v3/doc/xml/manual/intro.xml
@@ -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>
diff --git a/libstdc++-v3/libsupc++/new b/libstdc++-v3/libsupc++/new
index 5cd6269..8e8a327 100644
--- a/libstdc++-v3/libsupc++/new
+++ b/libstdc++-v3/libsupc++/new
@@ -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
More information about the Libstdc++
mailing list