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++. |
| 43 | libstdc++-4.4 requires <a href="libstdc++4.4-clang0x.patch">a patch</a> to work |
| 44 | with clang; other versions have not been tested.</p> |
| 45 | |
Cedric Venet | 3d65864 | 2009-02-14 20:20:19 +0000 | [diff] [blame] | 46 | <table width="689" border="1" cellspacing="0"> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 47 | <tr> |
Benjamin Kramer | 8398bdb | 2011-11-05 10:11:36 +0000 | [diff] [blame] | 48 | <th>Language Feature</th> |
Richard Smith | 1e409d8 | 2012-02-24 18:42:08 +0000 | [diff] [blame] | 49 | <th>C++11 Proposal</th> |
Benjamin Kramer | 8398bdb | 2011-11-05 10:11:36 +0000 | [diff] [blame] | 50 | <th>Available in Clang?</th> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 51 | </tr> |
| 52 | <tr> |
| 53 | <td>Rvalue references</td> |
| 54 | <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] | 55 | <td class="full" align="center">Clang 2.9</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 56 | </tr> |
| 57 | <tr> |
| 58 | <td> Rvalue references for <code>*this</code></td> |
| 59 | <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] | 60 | <td class="full" align="center">Clang 2.9</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 61 | </tr> |
| 62 | <tr> |
| 63 | <td>Initialization of class objects by rvalues</td> |
| 64 | <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] | 65 | <td class="full" align="center">Clang 2.9</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 66 | </tr> |
| 67 | <tr> |
| 68 | <td>Non-static data member initializers</td> |
| 69 | <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] | 70 | <td class="full" align="center">Clang 3.0</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 71 | </tr> |
| 72 | <tr> |
| 73 | <td>Variadic templates</td> |
| 74 | <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] | 75 | <td class="full" align="center">Clang 2.9</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 76 | </tr> |
| 77 | <tr> |
| 78 | <td> Extending variadic template template parameters</td> |
| 79 | <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] | 80 | <td class="full" align="center">Clang 2.9</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 81 | </tr> |
| 82 | <tr> |
| 83 | <td>Initializer lists</td> |
| 84 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2672.htm">N2672</a></td> |
Sebastian Redl | d1dc3aa | 2012-02-25 20:51:27 +0000 | [diff] [blame] | 85 | <td class="svn" align="center">SVN</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 86 | </tr> |
| 87 | <tr> |
| 88 | <td>Static assertions</td> |
| 89 | <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] | 90 | <td class="full" align="center">Clang 2.9</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 91 | </tr> |
| 92 | <tr> |
| 93 | <td><code>auto</code>-typed variables</td> |
| 94 | <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] | 95 | <td class="full" align="center">Clang 2.9</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 96 | </tr> |
| 97 | <tr> |
| 98 | <td> Multi-declarator <code>auto</code></td> |
| 99 | <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] | 100 | <td class="full" align="center">Clang 2.9</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 101 | </tr> |
| 102 | <tr> |
| 103 | <td> Removal of auto as a storage-class specifier</td> |
| 104 | <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] | 105 | <td class="full" align="center">Clang 2.9</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 106 | </tr> |
| 107 | <tr> |
| 108 | <td> New function declarator syntax</td> |
| 109 | <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] | 110 | <td class="full" align="center">Clang 2.9</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 111 | </tr> |
| 112 | <tr> |
Douglas Gregor | 7c07e96 | 2012-02-23 03:02:32 +0000 | [diff] [blame] | 113 | <td>Lambda expressions</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 114 | <td><a href="http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2009/n2927.pdf">N2927</a></td> |
Douglas Gregor | c101411 | 2012-02-23 03:10:24 +0000 | [diff] [blame] | 115 | <td class="svn" align="center">SVN</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 116 | </tr> |
| 117 | <tr> |
| 118 | <td>Declared type of an expression</td> |
| 119 | <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] | 120 | <td class="full" align="center">Clang 2.9</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 121 | </tr> |
| 122 | <tr> |
| 123 | <td>Right angle brackets</td> |
| 124 | <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] | 125 | <td class="full" align="center">Clang 2.9</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 126 | </tr> |
| 127 | <tr> |
| 128 | <td>Default template arguments for function templates</td> |
| 129 | <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] | 130 | <td class="full" align="center">Clang 2.9</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 131 | </tr> |
| 132 | <tr> |
| 133 | <td>Solving the SFINAE problem for expressions</td> |
| 134 | <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] | 135 | <td class="full" align="center">Clang 2.9</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 136 | </tr> |
| 137 | <tr> |
| 138 | <td>Alias templates</td> |
| 139 | <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] | 140 | <td class="full" align="center">Clang 3.0</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 141 | </tr> |
| 142 | <tr> |
| 143 | <td>Extern templates</td> |
| 144 | <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] | 145 | <td class="full" align="center">Clang 2.9</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 146 | </tr> |
| 147 | <tr> |
| 148 | <td>Null pointer constant</td> |
| 149 | <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] | 150 | <td class="full" align="center">Clang 3.0</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 151 | </tr> |
| 152 | <tr> |
| 153 | <td>Strongly-typed enums</td> |
| 154 | <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] | 155 | <td class="full" align="center">Clang 2.9</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 156 | </tr> |
| 157 | <tr> |
| 158 | <td>Forward declarations for enums</td> |
Richard Smith | f1c66b4 | 2012-03-14 23:13:10 +0000 | [diff] [blame] | 159 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2764.pdf">N2764</a> |
| 160 | <br><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#1206">DR1206</a></td> |
Richard Smith | 1f4c54d | 2012-03-26 20:31:41 +0000 | [diff] [blame^] | 161 | <td class="svn" align="center">SVN</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 162 | </tr> |
| 163 | <tr> |
| 164 | <td>Generalized attributes</td> |
| 165 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2761.pdf">N2761</a></td> |
Michael J. Spencer | 45b636a | 2011-11-02 06:29:37 +0000 | [diff] [blame] | 166 | <td class="none" align="center">No</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 167 | </tr> |
| 168 | <tr> |
| 169 | <td>Generalized constant expressions</td> |
| 170 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2235.pdf">N2235</a></td> |
Richard Smith | 65967ec | 2012-02-14 22:39:23 +0000 | [diff] [blame] | 171 | <td class="svn" align="center">SVN</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 172 | </tr> |
| 173 | <tr> |
| 174 | <td>Alignment support</td> |
| 175 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2341.pdf">N2341</a></td> |
Michael J. Spencer | 45b636a | 2011-11-02 06:29:37 +0000 | [diff] [blame] | 176 | <td class="full" align="center">Clang 3.0</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 177 | </tr> |
| 178 | <!-- Skipped N1627: Conditionally-support behavior --> |
| 179 | <!-- Skipped N1727: Changing Undefined Behavior into Diagnosable Errors --> |
| 180 | <tr> |
| 181 | <td>Delegating constructors</td> |
| 182 | <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] | 183 | <td class="full" align="center">Clang 3.0</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 184 | </tr> |
| 185 | <tr> |
| 186 | <td>Inheriting constructors</td> |
| 187 | <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] | 188 | <td class="none" align="center">No</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 189 | </tr> |
| 190 | <tr> |
| 191 | <td>Explicit conversion operators</td> |
| 192 | <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] | 193 | <td class="full" align="center">Clang 3.0</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 194 | </tr> |
| 195 | <tr> |
| 196 | <td>New character types</td> |
| 197 | <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] | 198 | <td class="full" align="center">Clang 2.9</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 199 | </tr> |
| 200 | <tr> |
| 201 | <td>Unicode string literals</td> |
| 202 | <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] | 203 | <td class="full" align="center">Clang 3.0</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 204 | </tr> |
| 205 | <tr> |
| 206 | <td>Raw string literals</td> |
| 207 | <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] | 208 | <td class="full" align="center">Clang 3.0</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 209 | </tr> |
| 210 | <tr> |
Richard Smith | 26b75c0 | 2012-03-09 22:27:51 +0000 | [diff] [blame] | 211 | <td>Universal character names in literals</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 212 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2170.html">N2170</a></td> |
Richard Smith | 26b75c0 | 2012-03-09 22:27:51 +0000 | [diff] [blame] | 213 | <td class="svn" align="center">SVN</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 214 | </tr> |
| 215 | <tr> |
| 216 | <td>User-defined literals</td> |
| 217 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2765.pdf">N2765</a></td> |
Richard Smith | 9c1dda7 | 2012-03-09 08:41:27 +0000 | [diff] [blame] | 218 | <td class="svn" align="center">SVN</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 219 | </tr> |
| 220 | <tr> |
| 221 | <td>Standard Layout Types</td> |
| 222 | <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] | 223 | <td class="full" align="center">Clang 3.0</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 224 | </tr> |
| 225 | <tr> |
Douglas Gregor | 26bae20 | 2011-10-28 19:44:09 +0000 | [diff] [blame] | 226 | <td>Defaulted functions</td> |
| 227 | <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] | 228 | <td class="full" align="center">Clang 3.0</td> |
Douglas Gregor | 26bae20 | 2011-10-28 19:44:09 +0000 | [diff] [blame] | 229 | </tr> |
| 230 | <tr> |
| 231 | <td>Deleted functions</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 232 | <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] | 233 | <td class="full" align="center">Clang 2.9</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 234 | </tr> |
| 235 | <tr> |
| 236 | <td>Extended friend declarations</td> |
| 237 | <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] | 238 | <td class="full" align="center">Clang 2.9</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 239 | </tr> |
| 240 | <tr> |
| 241 | <td>Extending <code>sizeof</code></td> |
Richard Smith | a5ec58d | 2012-02-24 18:37:14 +0000 | [diff] [blame] | 242 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2253.html">N2253</a> |
| 243 | <br><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#850">DR850</a></td> |
| 244 | <td class="svn" align="center">SVN</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 245 | </tr> |
| 246 | <tr> |
| 247 | <td>Inline namespaces</td> |
| 248 | <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] | 249 | <td class="full" align="center">Clang 2.9</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 250 | </tr> |
| 251 | <tr> |
| 252 | <td>Unrestricted unions</td> |
| 253 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2544.pdf">N2544</a></td> |
Richard Smith | ec92bc7 | 2012-03-03 23:51:05 +0000 | [diff] [blame] | 254 | <td class="svn" align="center">SVN</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 255 | </tr> |
| 256 | <tr> |
| 257 | <td>Local and unnamed types as template arguments</td> |
| 258 | <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] | 259 | <td class="full" align="center">Clang 2.9</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 260 | </tr> |
| 261 | <tr> |
| 262 | <td>Range-based for</td> |
| 263 | <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] | 264 | <td class="full" align="center">Clang 3.0</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 265 | </tr> |
| 266 | <tr> |
| 267 | <td>Explicit virtual overrides</td> |
| 268 | <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] | 269 | <br><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2010/n3206.htm">N3206</a> |
| 270 | <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] | 271 | <td class="full" align="center">Clang 3.0</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 272 | </tr> |
| 273 | <tr> |
| 274 | <td>Minimal support for garbage collection and reachability-based leak detection</td> |
| 275 | <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] | 276 | <td class="na" align="center">N/A</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 277 | </tr> |
| 278 | <tr> |
| 279 | <td>Allowing move constructors to throw [noexcept]</td> |
David Blaikie | b09a33c | 2011-11-02 15:13:40 +0000 | [diff] [blame] | 280 | <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] | 281 | <td class="full" align="center">Clang 3.0</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 282 | </tr> |
| 283 | <tr> |
| 284 | <td>Defining move special member functions</td> |
David Blaikie | b09a33c | 2011-11-02 15:13:40 +0000 | [diff] [blame] | 285 | <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] | 286 | <td class="full" align="center">Clang 3.0</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 287 | </tr> |
Cedric Venet | 3d65864 | 2009-02-14 20:20:19 +0000 | [diff] [blame] | 288 | |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 289 | <tr class="separator"> |
Benjamin Kramer | 8398bdb | 2011-11-05 10:11:36 +0000 | [diff] [blame] | 290 | <th align="center" colspan="3">Concurrency</th> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 291 | </tr> |
| 292 | <tr> |
| 293 | <td>Sequence points</td> |
| 294 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2239.html">N2239</a></td> |
Michael J. Spencer | 45b636a | 2011-11-02 06:29:37 +0000 | [diff] [blame] | 295 | <td class="none" align="center">No</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 296 | </tr> |
| 297 | <tr> |
| 298 | <td>Atomic operations</td> |
| 299 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2427.html">N2427</a></td> |
Michael J. Spencer | 45b636a | 2011-11-02 06:29:37 +0000 | [diff] [blame] | 300 | <td class="none" align="center">No</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 301 | </tr> |
| 302 | <tr> |
| 303 | <td>Strong Compare and Exchange</td> |
| 304 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2748.html">N2748</a></td> |
Michael J. Spencer | 45b636a | 2011-11-02 06:29:37 +0000 | [diff] [blame] | 305 | <td class="none" align="center">No</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 306 | </tr> |
| 307 | <tr> |
| 308 | <td>Bidirectional Fences</td> |
| 309 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2752.htm">N2752</a></td> |
Michael J. Spencer | 45b636a | 2011-11-02 06:29:37 +0000 | [diff] [blame] | 310 | <td class="none" align="center">No</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 311 | </tr> |
Douglas Gregor | 08765a9 | 2010-12-21 05:43:31 +0000 | [diff] [blame] | 312 | |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 313 | <tr> |
| 314 | <td>Memory model</td> |
| 315 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2429.htm">N2429</a></td> |
Michael J. Spencer | 45b636a | 2011-11-02 06:29:37 +0000 | [diff] [blame] | 316 | <td class="none" align="center">No</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 317 | </tr> |
| 318 | <tr> |
| 319 | <td>Data-dependency ordering: atomics and memory model</td> |
| 320 | <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] | 321 | <td class="none" align="center">No</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 322 | </tr> |
| 323 | <tr> |
| 324 | <td>Propagating exceptions</td> |
| 325 | <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] | 326 | <td class="full" align="center">Clang 2.9</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 327 | </tr> |
| 328 | <tr> |
| 329 | <td>Abandoning a process and at_quick_exit</td> |
| 330 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2440.htm">N2440</a></td> |
Michael J. Spencer | 45b636a | 2011-11-02 06:29:37 +0000 | [diff] [blame] | 331 | <td class="none" align="center">No</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 332 | </tr> |
| 333 | <tr> |
| 334 | <td>Allow atomics use in signal handlers</td> |
| 335 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2547.htm">N2547</a></td> |
Michael J. Spencer | 45b636a | 2011-11-02 06:29:37 +0000 | [diff] [blame] | 336 | <td class="none" align="center">No</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 337 | </tr> |
| 338 | <tr> |
| 339 | <td>Thread-local storage</td> |
| 340 | <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] | 341 | <td class="none" align="center">No</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 342 | </tr> |
| 343 | <tr> |
| 344 | <td>Dynamic initialization and destruction with concurrency</td> |
| 345 | <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2660.htm">N2660</a></td> |
Michael J. Spencer | 45b636a | 2011-11-02 06:29:37 +0000 | [diff] [blame] | 346 | <td class="none" align="center">No</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 347 | </tr> |
Cedric Venet | 3d65864 | 2009-02-14 20:20:19 +0000 | [diff] [blame] | 348 | |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 349 | <tr class="separator"> |
Richard Smith | 1e409d8 | 2012-02-24 18:42:08 +0000 | [diff] [blame] | 350 | <th align="center" colspan="3">C99 Features in C++11</th> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 351 | </tr> |
| 352 | <tr> |
| 353 | <td><code>__func__</code> predefined identifier</td> |
| 354 | <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] | 355 | <td class="full" align="center">Clang 2.9</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 356 | </tr> |
| 357 | <tr> |
| 358 | <td>C99 preprocessor</td> |
| 359 | <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] | 360 | <td class="full" align="center">Clang 2.9</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 361 | </tr> |
| 362 | <tr> |
| 363 | <td><code>long long</code></td> |
| 364 | <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] | 365 | <td class="full" align="center">Clang 2.9</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 366 | </tr> |
| 367 | <tr> |
| 368 | <td>Extended integral types</td> |
| 369 | <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] | 370 | <td class="none" align="center">No</td> |
Douglas Gregor | 43ac6d0 | 2011-10-14 23:21:49 +0000 | [diff] [blame] | 371 | </tr> |
Cedric Venet | 3d65864 | 2009-02-14 20:20:19 +0000 | [diff] [blame] | 372 | </table> |
Cedric Venet | 3d65864 | 2009-02-14 20:20:19 +0000 | [diff] [blame] | 373 | </div> |
| 374 | </body> |
| 375 | </html> |