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