Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(477)

Side by Side Diff: styleguide/c++/c++11.html

Issue 647773002: c++11: Alphabetize c++11.html (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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>&gt;&gt;</code> for <code>&gt; &gt;</code> and <br /> 68 <td><code>&gt;&gt;</code> for <code>&gt; &gt;</code> and <br />
61 <code>&lt;::</code> for <code>&lt; ::</code></td> 69 <code>&lt;::</code> for <code>&lt; ::</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
149 </tr> 157 </tr>
150 158
151 <tr> 159 <tr>
152 <td>Variadic Templates</td> 160 <td>Variadic Templates</td>
153 <td><code>template &lt;<i>typename</i> ... <i>arg</i>&gt;</code></td> 161 <td><code>template &lt;<i>typename</i> ... <i>arg</i>&gt;</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
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>
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698