Cedric Venet | 3d65864 | 2009-02-14 20:20:19 +0000 | [diff] [blame] | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" |
| 2 | "http://www.w3.org/TR/html4/strict.dtd"> |
| 3 | <html> |
| 4 | <head> |
Gabor Greif | 70f2a04 | 2009-02-25 15:22:45 +0000 | [diff] [blame] | 5 | <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> |
Richard Smith | 1e409d8 | 2012-02-24 18:42:08 +0000 | [diff] [blame] | 6 | <title>Clang - C++98 and C++11 Status</title> |
Gabor Greif | 70f2a04 | 2009-02-25 15:22:45 +0000 | [diff] [blame] | 7 | <link type="text/css" rel="stylesheet" href="menu.css"> |
| 8 | <link type="text/css" rel="stylesheet" href="content.css"> |
Cedric Venet | 3d65864 | 2009-02-14 20:20:19 +0000 | [diff] [blame] | 9 | <style type="text/css"> |
Michael J. Spencer | 45b636a | 2011-11-02 06:29:37 +0000 | [diff] [blame] | 10 | .none { background-color: #FFCCCC } |
Richard Smith | 65967ec | 2012-02-14 22:39:23 +0000 | [diff] [blame] | 11 | .svn { background-color: #FFFF99 } |
Michael J. Spencer | 45b636a | 2011-11-02 06:29:37 +0000 | [diff] [blame] | 12 | .full { background-color: #CCFF99 } |
Richard Smith | 15dcec7 | 2012-03-11 03:06:00 +0000 | [diff] [blame] | 13 | .na { background-color: #DDDDDD } |
Benjamin Kramer | 8398bdb | 2011-11-05 10:11:36 +0000 | [diff] [blame] | 14 | th { background-color: #FFDDAA } |
Cedric Venet | 3d65864 | 2009-02-14 20:20:19 +0000 | [diff] [blame] | 15 | </style> |
| 16 | </head> |
| 17 | <body> |
| 18 | |
| 19 | <!--#include virtual="menu.html.incl"--> |
| 20 | |
| 21 | <div id="content"> |
| 22 | |
| 23 | <!--*************************************************************************--> |
Richard Smith | 1e409d8 | 2012-02-24 18:42:08 +0000 | [diff] [blame] | 24 | <h1>C++98 and C++11 Support in Clang</h1> |
Cedric Venet | 3d65864 | 2009-02-14 20:20:19 +0000 | [diff] [blame] | 25 | <!--*************************************************************************--> |
Douglas Gregor | 4c9b68f | 2009-06-27 19:33:58 +0000 | [diff] [blame] | 26 | <p>Last updated: $Date$</p> |
Cedric Venet | 3d65864 | 2009-02-14 20:20:19 +0000 | [diff] [blame] | 27 | |
Richard Smith | 1e409d8 | 2012-02-24 18:42:08 +0000 | [diff] [blame] | 28 | <h2 id="cxx98">C++98 implementation status</h2> |
| 29 | |
Douglas Gregor | 8c32708 | 2011-07-21 17:46:15 +0000 | [diff] [blame] | 30 | <p>Clang currently implements all of the ISO C++ 1998 standard |
| 31 | (including the defects addressed in the ISO C++ 2003 standard) |
Richard Smith | 1e409d8 | 2012-02-24 18:42:08 +0000 | [diff] [blame] | 32 | except for 'export' (which has been removed in C++11) |
Douglas Gregor | 8c32708 | 2011-07-21 17:46:15 +0000 | [diff] [blame] | 33 | and is considered a production-quality C++ compiler. The <a |
| 34 | href="http://llvm.org/bugs/">LLVM bug tracker</a> contains a Clang |
| 35 | C++ component that tracks known Clang C++ bugs.</p> |
Douglas Gregor | 57f1a00 | 2010-02-05 23:51:14 +0000 | [diff] [blame] | 36 | |
Richard Smith | 1e409d8 | 2012-02-24 18:42:08 +0000 | [diff] [blame] | 37 | <h2 id="cxx11">C++11 implementation status</h2> |
Chris Lattner | 900e32d | 2010-05-21 20:59:40 +0000 | [diff] [blame] | 38 | |
Douglas Gregor | 60d222f | 2011-10-14 23:35:48 +0000 | [diff] [blame] | 39 | <p>Clang provides support for a number of features included in the new <a href="http://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=50372">ISO C++ Standard, ISO/IEC 14882:2011</a>. The following table describes which C++11 features have been implemented in Clang and in which Clang versions they became available.</p> |
Chris Lattner | 900e32d | 2010-05-21 20:59:40 +0000 | [diff] [blame] | 40 | |
David Blaikie | 1e2b3d7 | 2011-10-14 07:58:10 +0000 | [diff] [blame] | 41 | <p>You can use Clang in C++11 mode either |
Jeffrey Yasskin | 46ba01a | 2011-03-29 22:27:50 +0000 | [diff] [blame] | 42 | with <a href="http://libcxx.llvm.org/">libc++</a> or with gcc's libstdc++. |
Richard Smith | b5b37d1 | 2012-10-23 00:32:41 +0000 | [diff] [blame] | 43 | Patches are needed to make <a href="libstdc++4.4-clang0x.patch">libstdc++-4.4</a> |
| 44 | work with Clang in C++11 mode. Patches are also needed to make |
Richard Smith | c339393 | 2012-10-04 22:23:07 +0000 | [diff] [blame] | 45 | <a href="libstdc++4.6-clang11.patch">libstdc++-4.6</a>, |
Richard Smith | b5b37d1 | 2012-10-23 00:32:41 +0000 | [diff] [blame] | 46 | and <a href="libstdc++4.7-clang11.patch">libstdc++-4.7</a> work with Clang |
| 47 | releases prior to version 3.2 in C++11 mode.</p> |
Jeffrey Yasskin | 46ba01a | 2011-03-29 22:27:50 +0000 | [diff] [blame] | 48 | |
Cedric Venet | 3d65864 | 2009-02-14 20:20:19 +0000 | [diff] [blame] | 49 | <table width="689" border="1" cellspacing="0"> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 50 | <tr> |
Benjamin Kramer | 8398bdb | 2011-11-05 10:11:36 +0000 | [diff] [blame] | 51 | <th>Language Feature</th> |
Richard Smith | 1e409d8 | 2012-02-24 18:42:08 +0000 | [diff] [blame] | 52 | <th>C++11 Proposal</th> |
Benjamin Kramer | 8398bdb | 2011-11-05 10:11:36 +0000 | [diff] [blame] | 53 | <th>Available in Clang?</th> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 54 | </tr> |
| 55 | <tr> |
| 56 | <td>Rvalue references</td> |
| 57 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n2118.html">N2118</a></td> |
Michael J. Spencer | 45b636a | 2011-11-02 06:29:37 +0000 | [diff] [blame] | 58 | <td class="full" align="center">Clang 2.9</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 59 | </tr> |
| 60 | <tr> |
| 61 | <td> Rvalue references for <code>*this</code></td> |
| 62 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2439.htm">N2439</a></td> |
Benjamin Kramer | 8398bdb | 2011-11-05 10:11:36 +0000 | [diff] [blame] | 63 | <td class="full" align="center">Clang 2.9</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 64 | </tr> |
| 65 | <tr> |
| 66 | <td>Initialization of class objects by rvalues</td> |
| 67 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2004/n1610.html">N1610</a></td> |
Michael J. Spencer | 45b636a | 2011-11-02 06:29:37 +0000 | [diff] [blame] | 68 | <td class="full" align="center">Clang 2.9</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 69 | </tr> |
| 70 | <tr> |
| 71 | <td>Non-static data member initializers</td> |
| 72 | <td><a href="http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2008/n2756.htm">N2756</a></td> |
Benjamin Kramer | 8398bdb | 2011-11-05 10:11:36 +0000 | [diff] [blame] | 73 | <td class="full" align="center">Clang 3.0</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 74 | </tr> |
| 75 | <tr> |
| 76 | <td>Variadic templates</td> |
| 77 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2242.pdf">N2242</a></td> |
Michael J. Spencer | 45b636a | 2011-11-02 06:29:37 +0000 | [diff] [blame] | 78 | <td class="full" align="center">Clang 2.9</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 79 | </tr> |
| 80 | <tr> |
| 81 | <td> Extending variadic template template parameters</td> |
| 82 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2555.pdf">N2555</a></td> |
Michael J. Spencer | 45b636a | 2011-11-02 06:29:37 +0000 | [diff] [blame] | 83 | <td class="full" align="center">Clang 2.9</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 84 | </tr> |
| 85 | <tr> |
| 86 | <td>Initializer lists</td> |
| 87 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2672.htm">N2672</a></td> |
Richard Smith | 24fd6c8 | 2012-05-23 01:38:11 +0000 | [diff] [blame] | 88 | <td class="full" align="center">Clang 3.1</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 89 | </tr> |
| 90 | <tr> |
| 91 | <td>Static assertions</td> |
| 92 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2004/n1720.html">N1720</a></td> |
Michael J. Spencer | 45b636a | 2011-11-02 06:29:37 +0000 | [diff] [blame] | 93 | <td class="full" align="center">Clang 2.9</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 94 | </tr> |
| 95 | <tr> |
| 96 | <td><code>auto</code>-typed variables</td> |
| 97 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n1984.pdf">N1984</a></td> |
Michael J. Spencer | 45b636a | 2011-11-02 06:29:37 +0000 | [diff] [blame] | 98 | <td class="full" align="center">Clang 2.9</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 99 | </tr> |
| 100 | <tr> |
| 101 | <td> Multi-declarator <code>auto</code></td> |
| 102 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2004/n1737.pdf">N1737</a></td> |
Michael J. Spencer | 45b636a | 2011-11-02 06:29:37 +0000 | [diff] [blame] | 103 | <td class="full" align="center">Clang 2.9</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 104 | </tr> |
| 105 | <tr> |
| 106 | <td> Removal of auto as a storage-class specifier</td> |
| 107 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2546.htm">N2546</a></td> |
Michael J. Spencer | 45b636a | 2011-11-02 06:29:37 +0000 | [diff] [blame] | 108 | <td class="full" align="center">Clang 2.9</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 109 | </tr> |
| 110 | <tr> |
| 111 | <td> New function declarator syntax</td> |
| 112 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2541.htm">N2541</a></td> |
Michael J. Spencer | 45b636a | 2011-11-02 06:29:37 +0000 | [diff] [blame] | 113 | <td class="full" align="center">Clang 2.9</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 114 | </tr> |
| 115 | <tr> |
Douglas Gregor | 7c07e96 | 2012-02-23 03:02:32 +0000 | [diff] [blame] | 116 | <td>Lambda expressions</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 117 | <td><a href="http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2009/n2927.pdf">N2927</a></td> |
Richard Smith | 24fd6c8 | 2012-05-23 01:38:11 +0000 | [diff] [blame] | 118 | <td class="full" align="center">Clang 3.1</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 119 | </tr> |
| 120 | <tr> |
| 121 | <td>Declared type of an expression</td> |
| 122 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2343.pdf">N2343</a></td> |
Michael J. Spencer | 45b636a | 2011-11-02 06:29:37 +0000 | [diff] [blame] | 123 | <td class="full" align="center">Clang 2.9</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 124 | </tr> |
| 125 | <tr> |
Douglas Gregor | 316551f | 2012-04-10 20:00:33 +0000 | [diff] [blame] | 126 | <td> Incomplete return types</td> |
| 127 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2011/n3276.pdf">N3276</a></td> |
Richard Smith | 24fd6c8 | 2012-05-23 01:38:11 +0000 | [diff] [blame] | 128 | <td class="full" align="center">Clang 3.1</td> |
Douglas Gregor | 316551f | 2012-04-10 20:00:33 +0000 | [diff] [blame] | 129 | </tr> |
| 130 | <tr> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 131 | <td>Right angle brackets</td> |
| 132 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2005/n1757.html">N1757</a></td> |
Michael J. Spencer | 45b636a | 2011-11-02 06:29:37 +0000 | [diff] [blame] | 133 | <td class="full" align="center">Clang 2.9</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 134 | </tr> |
| 135 | <tr> |
| 136 | <td>Default template arguments for function templates</td> |
| 137 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#226">DR226</a></td> |
Michael J. Spencer | 45b636a | 2011-11-02 06:29:37 +0000 | [diff] [blame] | 138 | <td class="full" align="center">Clang 2.9</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 139 | </tr> |
| 140 | <tr> |
| 141 | <td>Solving the SFINAE problem for expressions</td> |
| 142 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2634.html">DR339</a></td> |
Michael J. Spencer | 45b636a | 2011-11-02 06:29:37 +0000 | [diff] [blame] | 143 | <td class="full" align="center">Clang 2.9</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 144 | </tr> |
| 145 | <tr> |
| 146 | <td>Alias templates</td> |
| 147 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2258.pdf">N2258</a></td> |
Michael J. Spencer | 45b636a | 2011-11-02 06:29:37 +0000 | [diff] [blame] | 148 | <td class="full" align="center">Clang 3.0</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 149 | </tr> |
| 150 | <tr> |
| 151 | <td>Extern templates</td> |
| 152 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n1987.htm">N1987</a></td> |
Michael J. Spencer | 45b636a | 2011-11-02 06:29:37 +0000 | [diff] [blame] | 153 | <td class="full" align="center">Clang 2.9</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 154 | </tr> |
| 155 | <tr> |
| 156 | <td>Null pointer constant</td> |
| 157 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2431.pdf">N2431</a></td> |
Michael J. Spencer | 45b636a | 2011-11-02 06:29:37 +0000 | [diff] [blame] | 158 | <td class="full" align="center">Clang 3.0</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 159 | </tr> |
| 160 | <tr> |
| 161 | <td>Strongly-typed enums</td> |
| 162 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2347.pdf">N2347</a></td> |
Michael J. Spencer | 45b636a | 2011-11-02 06:29:37 +0000 | [diff] [blame] | 163 | <td class="full" align="center">Clang 2.9</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 164 | </tr> |
| 165 | <tr> |
| 166 | <td>Forward declarations for enums</td> |
Richard Smith | f1c66b4 | 2012-03-14 23:13:10 +0000 | [diff] [blame] | 167 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2764.pdf">N2764</a> |
| 168 | <br><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#1206">DR1206</a></td> |
Richard Smith | 24fd6c8 | 2012-05-23 01:38:11 +0000 | [diff] [blame] | 169 | <td class="full" align="center">Clang 3.1</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 170 | </tr> |
| 171 | <tr> |
| 172 | <td>Generalized attributes</td> |
| 173 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2761.pdf">N2761</a></td> |
Richard Smith | 1441632 | 2013-02-22 09:31:00 +0000 | [diff] [blame] | 174 | <td class="svn" align="center">SVN</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 175 | </tr> |
| 176 | <tr> |
| 177 | <td>Generalized constant expressions</td> |
| 178 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2235.pdf">N2235</a></td> |
Richard Smith | 24fd6c8 | 2012-05-23 01:38:11 +0000 | [diff] [blame] | 179 | <td class="full" align="center">Clang 3.1</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 180 | </tr> |
| 181 | <tr> |
| 182 | <td>Alignment support</td> |
| 183 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2341.pdf">N2341</a></td> |
Richard Smith | 1441632 | 2013-02-22 09:31:00 +0000 | [diff] [blame] | 184 | <td class="svn" align="center">SVN</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 185 | </tr> |
| 186 | <!-- Skipped N1627: Conditionally-support behavior --> |
| 187 | <!-- Skipped N1727: Changing Undefined Behavior into Diagnosable Errors --> |
| 188 | <tr> |
| 189 | <td>Delegating constructors</td> |
| 190 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n1986.pdf">N1986</a></td> |
Benjamin Kramer | 8398bdb | 2011-11-05 10:11:36 +0000 | [diff] [blame] | 191 | <td class="full" align="center">Clang 3.0</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 192 | </tr> |
| 193 | <tr> |
| 194 | <td>Inheriting constructors</td> |
| 195 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2540.htm">N2540</a></td> |
Michael J. Spencer | 45b636a | 2011-11-02 06:29:37 +0000 | [diff] [blame] | 196 | <td class="none" align="center">No</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 197 | </tr> |
| 198 | <tr> |
| 199 | <td>Explicit conversion operators</td> |
| 200 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2437.pdf">N2437</a></td> |
Michael J. Spencer | 45b636a | 2011-11-02 06:29:37 +0000 | [diff] [blame] | 201 | <td class="full" align="center">Clang 3.0</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 202 | </tr> |
| 203 | <tr> |
| 204 | <td>New character types</td> |
| 205 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2249.html">N2249</a></td> |
Michael J. Spencer | 45b636a | 2011-11-02 06:29:37 +0000 | [diff] [blame] | 206 | <td class="full" align="center">Clang 2.9</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 207 | </tr> |
| 208 | <tr> |
| 209 | <td>Unicode string literals</td> |
| 210 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2442.htm">N2442</a></td> |
Michael J. Spencer | 45b636a | 2011-11-02 06:29:37 +0000 | [diff] [blame] | 211 | <td class="full" align="center">Clang 3.0</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 212 | </tr> |
| 213 | <tr> |
| 214 | <td>Raw string literals</td> |
| 215 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2442.htm">N2442</a></td> |
Michael J. Spencer | 45b636a | 2011-11-02 06:29:37 +0000 | [diff] [blame] | 216 | <td class="full" align="center">Clang 3.0</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 217 | </tr> |
| 218 | <tr> |
Richard Smith | 26b75c0 | 2012-03-09 22:27:51 +0000 | [diff] [blame] | 219 | <td>Universal character names in literals</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 220 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2170.html">N2170</a></td> |
Richard Smith | 24fd6c8 | 2012-05-23 01:38:11 +0000 | [diff] [blame] | 221 | <td class="full" align="center">Clang 3.1</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 222 | </tr> |
| 223 | <tr> |
| 224 | <td>User-defined literals</td> |
| 225 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2765.pdf">N2765</a></td> |
Richard Smith | 24fd6c8 | 2012-05-23 01:38:11 +0000 | [diff] [blame] | 226 | <td class="full" align="center">Clang 3.1</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 227 | </tr> |
| 228 | <tr> |
| 229 | <td>Standard Layout Types</td> |
| 230 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2342.htm">N2342</a></td> |
Michael J. Spencer | 45b636a | 2011-11-02 06:29:37 +0000 | [diff] [blame] | 231 | <td class="full" align="center">Clang 3.0</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 232 | </tr> |
| 233 | <tr> |
Douglas Gregor | 26bae20 | 2011-10-28 19:44:09 +0000 | [diff] [blame] | 234 | <td>Defaulted functions</td> |
| 235 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2346.htm">N2346</a></td> |
Michael J. Spencer | 45b636a | 2011-11-02 06:29:37 +0000 | [diff] [blame] | 236 | <td class="full" align="center">Clang 3.0</td> |
Douglas Gregor | 26bae20 | 2011-10-28 19:44:09 +0000 | [diff] [blame] | 237 | </tr> |
| 238 | <tr> |
| 239 | <td>Deleted functions</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 240 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2346.htm">N2346</a></td> |
Michael J. Spencer | 45b636a | 2011-11-02 06:29:37 +0000 | [diff] [blame] | 241 | <td class="full" align="center">Clang 2.9</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 242 | </tr> |
| 243 | <tr> |
| 244 | <td>Extended friend declarations</td> |
| 245 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2005/n1791.pdf">N1791</a></td> |
Michael J. Spencer | 45b636a | 2011-11-02 06:29:37 +0000 | [diff] [blame] | 246 | <td class="full" align="center">Clang 2.9</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 247 | </tr> |
| 248 | <tr> |
| 249 | <td>Extending <code>sizeof</code></td> |
Richard Smith | a5ec58d | 2012-02-24 18:37:14 +0000 | [diff] [blame] | 250 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2253.html">N2253</a> |
| 251 | <br><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#850">DR850</a></td> |
Richard Smith | 24fd6c8 | 2012-05-23 01:38:11 +0000 | [diff] [blame] | 252 | <td class="full" align="center">Clang 3.1</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 253 | </tr> |
| 254 | <tr> |
| 255 | <td>Inline namespaces</td> |
| 256 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2535.htm">N2535</a></td> |
Michael J. Spencer | 45b636a | 2011-11-02 06:29:37 +0000 | [diff] [blame] | 257 | <td class="full" align="center">Clang 2.9</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 258 | </tr> |
| 259 | <tr> |
| 260 | <td>Unrestricted unions</td> |
| 261 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2544.pdf">N2544</a></td> |
Richard Smith | 24fd6c8 | 2012-05-23 01:38:11 +0000 | [diff] [blame] | 262 | <td class="full" align="center">Clang 3.1</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 263 | </tr> |
| 264 | <tr> |
| 265 | <td>Local and unnamed types as template arguments</td> |
| 266 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2657.htm">N2657</a></td> |
Michael J. Spencer | 45b636a | 2011-11-02 06:29:37 +0000 | [diff] [blame] | 267 | <td class="full" align="center">Clang 2.9</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 268 | </tr> |
| 269 | <tr> |
| 270 | <td>Range-based for</td> |
| 271 | <td><a href="http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2009/n2930.html">N2930</a></td> |
Michael J. Spencer | 45b636a | 2011-11-02 06:29:37 +0000 | [diff] [blame] | 272 | <td class="full" align="center">Clang 3.0</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 273 | </tr> |
| 274 | <tr> |
| 275 | <td>Explicit virtual overrides</td> |
| 276 | <td><a href="http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2009/n2928.htm">N2928</a> |
Richard Smith | a5ec58d | 2012-02-24 18:37:14 +0000 | [diff] [blame] | 277 | <br><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2010/n3206.htm">N3206</a> |
| 278 | <br><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2011/n3272.htm">N3272</a></td> |
Michael J. Spencer | 45b636a | 2011-11-02 06:29:37 +0000 | [diff] [blame] | 279 | <td class="full" align="center">Clang 3.0</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 280 | </tr> |
| 281 | <tr> |
| 282 | <td>Minimal support for garbage collection and reachability-based leak detection</td> |
| 283 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2670.htm">N2670</a></td> |
Richard Smith | 15dcec7 | 2012-03-11 03:06:00 +0000 | [diff] [blame] | 284 | <td class="na" align="center">N/A</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 285 | </tr> |
| 286 | <tr> |
| 287 | <td>Allowing move constructors to throw [noexcept]</td> |
David Blaikie | b09a33c | 2011-11-02 15:13:40 +0000 | [diff] [blame] | 288 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2010/n3050.html">N3050</a></td> |
Michael J. Spencer | 45b636a | 2011-11-02 06:29:37 +0000 | [diff] [blame] | 289 | <td class="full" align="center">Clang 3.0</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 290 | </tr> |
| 291 | <tr> |
| 292 | <td>Defining move special member functions</td> |
David Blaikie | b09a33c | 2011-11-02 15:13:40 +0000 | [diff] [blame] | 293 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2010/n3053.html">N3053</a></td> |
Michael J. Spencer | 45b636a | 2011-11-02 06:29:37 +0000 | [diff] [blame] | 294 | <td class="full" align="center">Clang 3.0</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 295 | </tr> |
Cedric Venet | 3d65864 | 2009-02-14 20:20:19 +0000 | [diff] [blame] | 296 | |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 297 | <tr class="separator"> |
Benjamin Kramer | 8398bdb | 2011-11-05 10:11:36 +0000 | [diff] [blame] | 298 | <th align="center" colspan="3">Concurrency</th> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 299 | </tr> |
| 300 | <tr> |
| 301 | <td>Sequence points</td> |
| 302 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2239.html">N2239</a></td> |
Richard Smith | 52a9250 | 2013-01-29 04:55:18 +0000 | [diff] [blame] | 303 | <td class="svn" align="center">SVN</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 304 | </tr> |
| 305 | <tr> |
| 306 | <td>Atomic operations</td> |
| 307 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2427.html">N2427</a></td> |
Richard Smith | 24fd6c8 | 2012-05-23 01:38:11 +0000 | [diff] [blame] | 308 | <td class="full" align="center">Clang 3.1</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 309 | </tr> |
| 310 | <tr> |
| 311 | <td>Strong Compare and Exchange</td> |
| 312 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2748.html">N2748</a></td> |
Richard Smith | 24fd6c8 | 2012-05-23 01:38:11 +0000 | [diff] [blame] | 313 | <td class="full" align="center">Clang 3.1</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 314 | </tr> |
| 315 | <tr> |
| 316 | <td>Bidirectional Fences</td> |
| 317 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2752.htm">N2752</a></td> |
Richard Smith | 24fd6c8 | 2012-05-23 01:38:11 +0000 | [diff] [blame] | 318 | <td class="full" align="center">Clang 3.1</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 319 | </tr> |
Douglas Gregor | 08765a9 | 2010-12-21 05:43:31 +0000 | [diff] [blame] | 320 | |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 321 | <tr> |
| 322 | <td>Memory model</td> |
| 323 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2429.htm">N2429</a></td> |
Richard Smith | 52a9250 | 2013-01-29 04:55:18 +0000 | [diff] [blame] | 324 | <td class="full" align="center">Clang 3.2</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 325 | </tr> |
| 326 | <tr> |
| 327 | <td>Data-dependency ordering: atomics and memory model</td> |
| 328 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2664.htm">N2664</a></td> |
Michael J. Spencer | 45b636a | 2011-11-02 06:29:37 +0000 | [diff] [blame] | 329 | <td class="none" align="center">No</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 330 | </tr> |
| 331 | <tr> |
| 332 | <td>Propagating exceptions</td> |
| 333 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2179.html">N2179</a></td> |
Michael J. Spencer | 45b636a | 2011-11-02 06:29:37 +0000 | [diff] [blame] | 334 | <td class="full" align="center">Clang 2.9</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 335 | </tr> |
| 336 | <tr> |
| 337 | <td>Abandoning a process and at_quick_exit</td> |
| 338 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2440.htm">N2440</a></td> |
Richard Smith | 9d4e87e | 2012-04-13 01:02:19 +0000 | [diff] [blame] | 339 | <td class="na" align="center">N/A</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 340 | </tr> |
| 341 | <tr> |
| 342 | <td>Allow atomics use in signal handlers</td> |
| 343 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2547.htm">N2547</a></td> |
Richard Smith | 24fd6c8 | 2012-05-23 01:38:11 +0000 | [diff] [blame] | 344 | <td class="full" align="center">Clang 3.1</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 345 | </tr> |
| 346 | <tr> |
| 347 | <td>Thread-local storage</td> |
| 348 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2659.htm">N2659</a></td> |
Michael J. Spencer | 45b636a | 2011-11-02 06:29:37 +0000 | [diff] [blame] | 349 | <td class="none" align="center">No</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 350 | </tr> |
| 351 | <tr> |
| 352 | <td>Dynamic initialization and destruction with concurrency</td> |
| 353 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2660.htm">N2660</a></td> |
Richard Smith | 1441632 | 2013-02-22 09:31:00 +0000 | [diff] [blame] | 354 | <td class="full" align="center">Clang 2.9</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 355 | </tr> |
Cedric Venet | 3d65864 | 2009-02-14 20:20:19 +0000 | [diff] [blame] | 356 | |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 357 | <tr class="separator"> |
Richard Smith | 1e409d8 | 2012-02-24 18:42:08 +0000 | [diff] [blame] | 358 | <th align="center" colspan="3">C99 Features in C++11</th> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 359 | </tr> |
| 360 | <tr> |
| 361 | <td><code>__func__</code> predefined identifier</td> |
| 362 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2340.htm">N2340</a></td> |
Michael J. Spencer | 45b636a | 2011-11-02 06:29:37 +0000 | [diff] [blame] | 363 | <td class="full" align="center">Clang 2.9</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 364 | </tr> |
| 365 | <tr> |
| 366 | <td>C99 preprocessor</td> |
| 367 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2004/n1653.htm">N1653</a></td> |
Michael J. Spencer | 45b636a | 2011-11-02 06:29:37 +0000 | [diff] [blame] | 368 | <td class="full" align="center">Clang 2.9</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 369 | </tr> |
| 370 | <tr> |
| 371 | <td><code>long long</code></td> |
| 372 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2005/n1811.pdf">N1811</a></td> |
Michael J. Spencer | 45b636a | 2011-11-02 06:29:37 +0000 | [diff] [blame] | 373 | <td class="full" align="center">Clang 2.9</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 374 | </tr> |
| 375 | <tr> |
| 376 | <td>Extended integral types</td> |
| 377 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n1988.pdf">N1988</a></td> |
Michael J. Spencer | 45b636a | 2011-11-02 06:29:37 +0000 | [diff] [blame] | 378 | <td class="none" align="center">No</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 379 | </tr> |
Cedric Venet | 3d65864 | 2009-02-14 20:20:19 +0000 | [diff] [blame] | 380 | </table> |
Cedric Venet | 3d65864 | 2009-02-14 20:20:19 +0000 | [diff] [blame] | 381 | </div> |
| 382 | </body> |
| 383 | </html> |