Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <!-- | 2 <!-- |
| 3 Copyright 2014 The Chromium Authors. All rights reserved. | 3 Copyright 2014 The Chromium Authors. All rights reserved. |
| 4 Use of this source code is governed by a BSD-style license that can be | 4 Use of this source code is governed by a BSD-style license that can be |
| 5 found in the LICENSE file. | 5 found in the LICENSE file. |
| 6 --> | 6 --> |
| 7 <html> | 7 <html> |
| 8 <head> | 8 <head> |
| 9 <meta charset="utf-8"> | 9 <meta charset="utf-8"> |
| 10 <link rel="stylesheet" href="c++11.css"> | 10 <link rel="stylesheet" href="c++11.css"> |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 149 </tr> | 149 </tr> |
| 150 | 150 |
| 151 <tr> | 151 <tr> |
| 152 <td>Variadic Templates</td> | 152 <td>Variadic Templates</td> |
| 153 <td><code>template <<i>typename</i> ... <i>arg</i>></code></td> | 153 <td><code>template <<i>typename</i> ... <i>arg</i>></code></td> |
| 154 <td>Allows templates that accept a variable number of arguments</td> | 154 <td>Allows templates that accept a variable number of arguments</td> |
| 155 <td>TODO: documentation link</td> | 155 <td>TODO: documentation link</td> |
| 156 <td>Usage should be rare. Use instead of .pump files. <a href="https://groups.go ogle.com/a/chromium.org/forum/#!topic/chromium-dev/6ItymeMXpMc">Discussion threa d</a></td> | 156 <td>Usage should be rare. Use instead of .pump files. <a href="https://groups.go ogle.com/a/chromium.org/forum/#!topic/chromium-dev/6ItymeMXpMc">Discussion threa d</a></td> |
| 157 </tr> | 157 </tr> |
| 158 | 158 |
| 159 <tr> | |
| 160 <td>Aliases</td> | |
| 161 <td><code>using <i>new_alias</i> = <i>typename</i></code></td> | |
| 162 <td>Allow parameterized typedefs</td> | |
| 163 <td><a href="http://en.cppreference.com/w/cpp/language/type_alias">Type alias (u sing syntax)</a></td> | |
| 164 <td>Use instead of typedef, unless the header needs to be compatible with C. <a href="https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/8dOAMz gR4ao">Discussion thread</a></td> | |
| 165 </tr> | |
| 166 | |
|
Avi (use Gerrit)
2014/10/10 13:30:45
Can you do a follow up patch to put this table row
davidben
2014/10/10 16:28:33
Whoops. Somehow I didn't notice that. Done:
https
| |
| 159 </tbody> | 167 </tbody> |
| 160 </table> | 168 </table> |
| 161 | 169 |
| 162 <h2 id="blacklist">C++11 Blacklist (Disallowed and Banned Features)</h2> | 170 <h2 id="blacklist">C++11 Blacklist (Disallowed and Banned Features)</h2> |
| 163 | 171 |
| 164 <p>This section lists features that are not allowed to be used yet. | 172 <p>This section lists features that are not allowed to be used yet. |
| 165 | 173 |
| 166 <h3 id="blacklist_banned">C++11 Banned Features</h3> | 174 <h3 id="blacklist_banned">C++11 Banned Features</h3> |
| 167 | 175 |
| 168 <p>This section will list C++11 features that are not allowed in the Chromium | 176 <p>This section will list C++11 features that are not allowed in the Chromium |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 257 | 265 |
| 258 <tr> | 266 <tr> |
| 259 <th style='width:240px;'>Feature</th> | 267 <th style='width:240px;'>Feature</th> |
| 260 <th style='width:240px;'>Snippet</th> | 268 <th style='width:240px;'>Snippet</th> |
| 261 <th style='width:240px;'>Description</th> | 269 <th style='width:240px;'>Description</th> |
| 262 <th style='width:240px;'>Documentation Link</th> | 270 <th style='width:240px;'>Documentation Link</th> |
| 263 <th style='width:240px;'>Notes</th> | 271 <th style='width:240px;'>Notes</th> |
| 264 </tr> | 272 </tr> |
| 265 | 273 |
| 266 <tr> | 274 <tr> |
| 267 <td>Aliases</td> | |
| 268 <td><code>using <i>new_alias</i> = <i>typename</i></code></td> | |
| 269 <td>Allow parameterized typedefs</td> | |
| 270 <td><a href="http://en.cppreference.com/w/cpp/language/type_alias">Type alias (u sing syntax)</a></td> | |
| 271 <td><a href="https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev /8dOAMzgR4ao">Discussion thread</a></td> | |
| 272 </tr> | |
| 273 | |
| 274 <tr> | |
| 275 <td>Alignment Features</td> | 275 <td>Alignment Features</td> |
| 276 <td> | 276 <td> |
| 277 <code>alignas</code> specifier, | 277 <code>alignas</code> specifier, |
| 278 <code>std::alignment_of<T></code>, | 278 <code>std::alignment_of<T></code>, |
| 279 <code>std::aligned_union<Size, ...Types></code> and | 279 <code>std::aligned_union<Size, ...Types></code> and |
| 280 <code>std::max_align_t</code></td> | 280 <code>std::max_align_t</code></td> |
| 281 <td>Object alignment</td> | 281 <td>Object alignment</td> |
| 282 <td><a href="http://en.cppreference.com/w/cpp/types/alignment_of">std::alignment _of</a></td> | 282 <td><a href="http://en.cppreference.com/w/cpp/types/alignment_of">std::alignment _of</a></td> |
| 283 <td></td> | 283 <td></td> |
| 284 </tr> | 284 </tr> |
| (...skipping 656 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 941 </tr> | 941 </tr> |
| 942 | 942 |
| 943 </tbody> | 943 </tbody> |
| 944 </table> | 944 </table> |
| 945 | 945 |
| 946 </details> | 946 </details> |
| 947 | 947 |
| 948 </div> | 948 </div> |
| 949 </body> | 949 </body> |
| 950 </html> | 950 </html> |
| OLD | NEW |