diff options
author | Faisal Vali <faisalv@yahoo.com> | 2017-08-19 03:43:07 +0000 |
---|---|---|
committer | Faisal Vali <faisalv@yahoo.com> | 2017-08-19 03:43:07 +0000 |
commit | 477f579e67f1eb7da7e9df0b6d01e3ae70508859 (patch) | |
tree | f627e0ab4c6a8f24da77120372dd4b7295528daf /www | |
parent | c15e70eae870a8683089e94c1cc6e9c238a094a6 (diff) |
[c++2a] Implement P0409R2 - Allow lambda capture [=,this] (by hamzasood)
This patch, by hamzasood, implements P0409R2, and allows [=, this] pre-C++2a as an extension (with appropriate warnings) for consistency.
https://reviews.llvm.org/D36572
Thanks Hamza!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@311224 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'www')
-rw-r--r-- | www/cxx_status.html | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/www/cxx_status.html b/www/cxx_status.html index 539af819e0..db5a93c91a 100644 --- a/www/cxx_status.html +++ b/www/cxx_status.html @@ -777,13 +777,12 @@ code. This issue is expected to be rectified soon. <h2 id="cxx20">C++2a implementation status</h2> -<p>Clang does not yet support any of the proposed features of -<!--<p>Clang has <b>experimental</b> support for some proposed features 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>--> +<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> @@ -808,7 +807,7 @@ as the draft C++2a standard evolves. <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> + <td class="svn" align="center">SVN</td> </tr> <tr> <td><tt>__VA_OPT__</tt> for preprocessor comma elision</td> |