Skip to content

Commit

Permalink
[cxx_status] Add approved Toronto WG21 motions.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@308099 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
zygoloid committed Jul 15, 2017
1 parent c93eca1 commit 86f8aca
Showing 1 changed file with 71 additions and 10 deletions.
81 changes: 71 additions & 10 deletions www/cxx_status.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Clang - C++1z, C++14, C++11 and C++98 Status</title>
<title>Clang - C++17, C++14, C++11 and C++98 Status</title>
<link type="text/css" rel="stylesheet" href="menu.css">
<link type="text/css" rel="stylesheet" href="content.css">
<style type="text/css">
Expand Down Expand Up @@ -32,7 +32,7 @@ <h1>C++ Support in Clang</h1>
href="#cxx98">C++98 / C++03</a>, <a
href="#cxx11">C++11</a>, and <a
href="#cxx14">C++14</a>), and most of the upcoming <a
href="#cxx17">C++1z</a> standard.
href="#cxx17">C++17</a> standard.

<p>The Clang community is continually striving to improve C++ standards
compliance between releases by submitting and tracking <a
Expand Down Expand Up @@ -519,22 +519,20 @@ <h2 id="cxx14">C++14 implementation status</h2>
</p>
</details>

<h2 id="cxx17">C++1z implementation status</h2>
<h2 id="cxx17">C++17 implementation status</h2>

<p>Clang has <b>experimental</b> support for some proposed features of
the C++ standard following C++14, provisionally named C++1z.
Note that support for these features may change or be removed without notice,
as the draft C++1z standard evolves.
<p>Clang SVN implements all the features
of the C++ 2017 Draft International Standard.

<p>You can use Clang in C++1z mode with the <code>-std=c++1z</code> option.</p>
<p>You can use Clang in C++17 mode with the <code>-std=c++1z</code> option.</p>

<details open>
<summary>List of features and minimum Clang version with support</summary>

<table width="689" border="1" cellspacing="0">
<tr>
<th>Language Feature</th>
<th>C++1z Proposal</th>
<th>C++17 Proposal</th>
<th>Available in Clang?</th>
</tr>
<!-- Issaquah 2014 papers -->
Expand All @@ -551,7 +549,7 @@ <h2 id="cxx17">C++1z implementation status</h2>
</tr>
<!--
<tr>
<td rowspan="2">Terse range-based for loops (removed from C++1z)</td>
<td rowspan="2">Terse range-based for loops (removed from C++17)</td>
<td rowspan="2"><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n3994.htm">N3994</a></td>
<td class="none" align="center">Clang 3.5: Yes</td>
</tr>
Expand Down Expand Up @@ -777,6 +775,69 @@ <h2 id="cxx17">C++1z implementation status</h2>
</p>
</details>

<h2 id="cxx20">C++2a implementation status</h2>

<p>Clang does not yet support any of the propose fetures of
<!--<p>Clang has <b>experimental</b> support for some proposed features of-->
the C++ standard following C++17, provisionally named C++2a.
Note that support for these features may change or be removed without notice,
as the draft C++2a standard evolves.

<!--<p>You can use Clang in C++2a mode with the <code>-std=c++2a</code> option.</p>-->

<details open>
<summary>List of features and minimum Clang version with support</summary>

<table width="689" border="1" cellspacing="0">
<tr>
<th>Language Feature</th>
<th>C++2a Proposal</th>
<th>Available in Clang?</th>
</tr>
<!-- Toronto 2017 papers -->
<tr>
<td>Default member initializers for bit-fields</td>
<td><a href="http://wg21.link/p0683r1">P00683R1</a></td>
<td class="none" align="center">No</td>
</tr>
<tr>
<td><tt>const&amp;</tt>-qualified pointers to members</td>
<td><a href="http://wg21.link/p0704r1">P0704R1</a></td>
<td class="none" align="center">No</td>
</tr>
<tr>
<td>Allow <i>lambda-capture</i> <tt>[=, this]</tt></td>
<td><a href="http://wg21.link/p0409r2">P0409R2</a></td>
<td class="none" align="center">No</td>
</tr>
<tr>
<td><tt>__VA_OPT__</tt> for preprocessor comma elision</td>
<td><a href="http://wg21.link/p0306r4">P0306R4</a></td>
<td class="none" align="center">No</td>
</tr>
<tr>
<td>Designated initializers</td>
<td><a href="http://wg21.link/p0329r4">P0329R4</a></td>
<td class="partial" align="center">Partial (extension)</td>
</tr>
<tr>
<td><i>template-parameter-list</i> for generic lambdas</td>
<td><a href="http://wg21.link/p0428r2">P0428R2</a></td>
<td class="none" align="center">No</td>
</tr>
<tr>
<td>Initializer list constructors in class template argument deduction</td>
<td><a href="http://wg21.link/p0702r1">P0702R1</a></td>
<td class="none" align="center">No</td>
</tr>
<tr>
<td>Concepts</td>
<td><a href="http://wg21.link/p0734r0">P0734R0</a></td>
<td class="none" align="center">No</td>
</tr>
</table>
</details>

<h2 id="ts">Technical specifications and standing documents</h2>

<p>ISO C++ also publishes a number of documents describing additional language
Expand Down

0 comments on commit 86f8aca

Please sign in to comment.