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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 | 49 |
50 <tr> | 50 <tr> |
51 <th style='width:220px;'>Feature</th> | 51 <th style='width:220px;'>Feature</th> |
52 <th style='width:260px;'>Snippet</th> | 52 <th style='width:260px;'>Snippet</th> |
53 <th style='width:240px;'>Description</th> | 53 <th style='width:240px;'>Description</th> |
54 <th style='width:240px;'>Documentation Link</th> | 54 <th style='width:240px;'>Documentation Link</th> |
55 <th style='width:240px;'>Notes and Discussion Thread</th> | 55 <th style='width:240px;'>Notes and Discussion Thread</th> |
56 </tr> | 56 </tr> |
57 | 57 |
58 <tr> | 58 <tr> |
| 59 <td>Aliases</td> |
| 60 <td><code>using <i>new_alias</i> = <i>typename</i></code></td> |
| 61 <td>Allow parameterized typedefs</td> |
| 62 <td><a href="http://en.cppreference.com/w/cpp/language/type_alias">Type alias (u
sing syntax)</a></td> |
| 63 <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> |
| 64 </tr> |
| 65 |
| 66 <tr> |
59 <td>Angle Bracket Parsing in Templates</td> | 67 <td>Angle Bracket Parsing in Templates</td> |
60 <td><code>>></code> for <code>> ></code> and <br /> | 68 <td><code>>></code> for <code>> ></code> and <br /> |
61 <code><::</code> for <code>< ::</code></td> | 69 <code><::</code> for <code>< ::</code></td> |
62 <td>More intuitive parsing of template parameters</td> | 70 <td>More intuitive parsing of template parameters</td> |
63 <td><a href="http://stackoverflow.com/questions/15785496/c-templates-angle-brack
ets-pitfall-what-is-the-c11-fix"> | 71 <td><a href="http://stackoverflow.com/questions/15785496/c-templates-angle-brack
ets-pitfall-what-is-the-c11-fix"> |
64 C++ Templates Angle Brackets Pitfall</a></td> | 72 C++ Templates Angle Brackets Pitfall</a></td> |
65 <td>Recommended to increase readability. Approved without discussion.</td> | 73 <td>Recommended to increase readability. Approved without discussion.</td> |
66 </tr> | 74 </tr> |
67 | 75 |
68 <tr> | 76 <tr> |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 </tr> | 157 </tr> |
150 | 158 |
151 <tr> | 159 <tr> |
152 <td>Variadic Templates</td> | 160 <td>Variadic Templates</td> |
153 <td><code>template <<i>typename</i> ... <i>arg</i>></code></td> | 161 <td><code>template <<i>typename</i> ... <i>arg</i>></code></td> |
154 <td>Allows templates that accept a variable number of arguments</td> | 162 <td>Allows templates that accept a variable number of arguments</td> |
155 <td>TODO: documentation link</td> | 163 <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> | 164 <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> | 165 </tr> |
158 | 166 |
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 | |
167 </tbody> | 167 </tbody> |
168 </table> | 168 </table> |
169 | 169 |
170 <h2 id="blacklist">C++11 Blacklist (Disallowed and Banned Features)</h2> | 170 <h2 id="blacklist">C++11 Blacklist (Disallowed and Banned Features)</h2> |
171 | 171 |
172 <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. |
173 | 173 |
174 <h3 id="blacklist_banned">C++11 Banned Features</h3> | 174 <h3 id="blacklist_banned">C++11 Banned Features</h3> |
175 | 175 |
176 <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 764 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 |