This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] libstdc++/60132 deprecate C++0x has_trivial_xxx traits


On 08/01/15 16:24 +0000, Jonathan Wakely wrote:
Now that we provide the std::is_trivially_xxxible traits we don't need
to keep the has_trivial_xxx ones from the earlier C++0x drafts. This
patch marks them as deprecated so we can remove them in future.

I'll update the changes.html notes too.

Here's the patch for the web page.

Index: gcc-5/changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-5/changes.html,v
retrieving revision 1.56
diff -u -r1.56 changes.html
--- gcc-5/changes.html	31 Dec 2014 17:25:22 -0000	1.56
+++ gcc-5/changes.html	8 Jan 2015 16:46:11 -0000
@@ -20,6 +20,14 @@
 	CLooG library, only ISL version 0.14 (recommended) or 0.12.2.  The
         installation manual contains more information about requirements to
         build GCC.</li>
+    <li>The non-standard type traits
+        <code>has_trivial_default_constructor</code>,
+        <code>has_trivial_copy_constructor</code> and
+        <code>has_trivial_copy_assign</code> have been deprecated and will
+        be removed in a future version. The standard traits
+        <code>is_trivially_default_constructible</code>,
+        <code>is_trivially_copy_constructible</code> and
+        <code>is_trivially_copy_assignable</code> should be used instead.</li>
   </ul>
 
 <h2 id="general">General Optimizer Improvements</h2>
@@ -320,7 +328,7 @@
     <li>New random number distributions <code>logistic_distribution</code> and
       <code>uniform_on_sphere_distribution</code> as extensions.</li>
     <li><a href="https://sourceware.org/gdb/current/onlinedocs/gdb/Xmethods-In-Python.html";>GDB
-      Xmethods</a> for Sequence Containers and <code>std::unique_ptr</code>;</li>
+      Xmethods</a> for containers and <code>std::unique_ptr</code>;</li>
   </ul>
 
 <h3 id="fortran">Fortran</h3>

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]