[wwwdocs] Re: C++ Concepts available in trunk?

Jonathan Wakely jwakely.gcc@gmail.com
Thu Aug 13 09:25:00 GMT 2015


Here's the patch for the rest of the C++17 support.

On 13 August 2015 at 09:58, Jonathan Wakely <jwakely.gcc@gmail.com> wrote:
> On 12 August 2015 at 23:54, Dijk, J. van wrote:
>> Thanks for the clarification. I hope the attached patch against current
>> wwwdocs will be of use (only the name of the feature test macro is missing
>> in the new file cxx1z.html;  did not manage to find that.)
>
> Thanks, I've committed the attached change to the wwwdocs repo.
>
> I'll add the other new C++17 features to it later today.
-------------- next part --------------
Index: htdocs/projects/cxx1z.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/projects/cxx1z.html,v
retrieving revision 1.1
diff -u -r1.1 cxx1z.html
--- htdocs/projects/cxx1z.html	13 Aug 2015 08:36:07 -0000	1.1
+++ htdocs/projects/cxx1z.html	13 Aug 2015 09:24:13 -0000
@@ -19,7 +19,7 @@
   <p>C++1z features are available as part of the "mainline" GCC
     compiler in the trunk of
     <a href="../svn.html">GCC's Subversion
-      repository</a> and in GCC 4.9 and later. To enable C++1z
+      repository</a> and in GCC 5 and later. To enable C++1z
       support, add the command-line parameter <code>-std=c++1z</code>
       to your <code>g++</code> command line. Or, to enable GNU
       extensions in addition to C++1z extensions,
@@ -48,9 +48,58 @@
       <th>SD-6 Feature Test</th>
     </tr>
     <tr>
+      <td> Removing trigraphs </td>
+      <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4086.html">N4086</a> </td>
+      <td class="supported" align="center">5.1</td>
+      <td> </td>
+    </tr>
+    <tr>
+      <td><code>u8</code> character literals </td>
+      <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4267.html">N4267</a> </td>
+      <td class="supported" align="center"> 6 </td>
+      <td> __cpp_unicode_characters >= 201411 </td>
+    </tr>
+    <tr>
+      <td> Folding expressions</td>
+      <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4295.html">N4295</a> </td>
+      <td class="supported" align="center"> 6 </td>
+      <td> __cpp_fold_expressions >= 201411</td>
+    </tr>
+    <tr>
+      <td> Attributes for namespaces and enumerators </td>
+      <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4266.html">N4266</a> </td>
+      <td class="supported" align="center">
+        4.9 (namespaces) <br /> 6 (enumerators)
+      </td>
+      <td>
+        __cpp_namespace_attributes >= 201411 <br />
+        __cpp_enumerator_attributes >= 201411
+      </td>
+    </tr>
+    <tr>
+      <td> Nested namespace definitions</td>
+      <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4230.html">N4230</a> </td>
+      <td class="unsupported" align="center">No</td>
+      <td> __cpp_nested_namespace_definitions >= 201411</td>
+    </tr>
+    <tr>
+      <td> Allow constant evaluation for all non-type template arguments</td>
+      <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4268.html">N4268</a> </td>
+      <td class="unsupported" align="center">No</td>
+      <td>__cpp_nontype_template_args >= 201411 </td>
+    </tr>
+    <!--
+    <tr>
+      <td> </td>
+      <td> </td>
+      <td class="unsupported" align="center">No</td>
+      <td> </td>
+    </tr>
+    -->
+    <tr>
       <td>C++ concepts</td>
       <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/n4377.pdf">N4377</a></td>
-      <td class="supported" align="center"><a href="../gcc-6/changes.html#cxx">6</a></td>
+      <td class="supported" align="center"> 6 </td>
       <td> __cpp_concepts >= 201507 </td>
     </tr>
   </table>


More information about the Gcc-help mailing list