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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 77 <tr> | 77 <tr> |
| 78 <td>Standard Integers</td> | 78 <td>Standard Integers</td> |
| 79 <td>Typedefs within <code><stdint.h></code> | 79 <td>Typedefs within <code><stdint.h></code> |
| 80 and <code><inttypes></code></td> | 80 and <code><inttypes></code></td> |
| 81 <td>Provides fixed-size integers independent of platforms</td> | 81 <td>Provides fixed-size integers independent of platforms</td> |
| 82 <td><a href="http://www.cplusplus.com/reference/cstdint/"> | 82 <td><a href="http://www.cplusplus.com/reference/cstdint/"> |
| 83 <stdint.h> (cstdint)</a></td> | 83 <stdint.h> (cstdint)</a></td> |
| 84 <td>Already in common use in the codebase. Approved without discussion.</td> | 84 <td>Already in common use in the codebase. Approved without discussion.</td> |
| 85 </tr> | 85 </tr> |
| 86 | 86 |
| 87 <tr> | |
| 88 <td>Null Pointer Constant</td> | |
| 89 <td><code>nullptr</code></td> | |
| 90 <td>Declares a type-safe null pointer</td> | |
| 91 <td>TODO: documentation link</td> | |
| 92 <td><a href="https://google-styleguide.googlecode.com/svn/trunk/cppguide.html#0_ and_nullptr/NULL">Google Style Guidwe</a>. | |
|
Nico
2014/09/24 20:30:22
s/Guidwe/Guide/
Please add "Recommended for new c
| |
| 93 </td> | |
| 94 </tr> | |
| 95 | |
| 87 </tbody> | 96 </tbody> |
| 88 </table> | 97 </table> |
| 89 | 98 |
| 90 <h2 id="blacklist">C++11 Blacklist (Disallowed and Banned Features)</h2> | 99 <h2 id="blacklist">C++11 Blacklist (Disallowed and Banned Features)</h2> |
| 91 | 100 |
| 92 <p>This section lists features that are not allowed to be used yet. | 101 <p>This section lists features that are not allowed to be used yet. |
| 93 | 102 |
| 94 <h3 id="blacklist_banned">C++11 Banned Features</h3> | 103 <h3 id="blacklist_banned">C++11 Banned Features</h3> |
| 95 | 104 |
| 96 <p>None yet! This section will list C++11 features that are not allowed in the | 105 <p>None yet! This section will list C++11 features that are not allowed in the |
| (...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 324 <i>type</i> <i>var</i> = <i>value</i>;<br/> | 333 <i>type</i> <i>var</i> = <i>value</i>;<br/> |
| 325 C() // copy-initializes <i>var</i><br/> | 334 C() // copy-initializes <i>var</i><br/> |
| 326 </code> | 335 </code> |
| 327 <td>Allows non-static class members to be initialized at their definitions (outs ide constructors)</td> | 336 <td>Allows non-static class members to be initialized at their definitions (outs ide constructors)</td> |
| 328 <td><a href="http://en.cppreference.com/w/cpp/language/data_members"> | 337 <td><a href="http://en.cppreference.com/w/cpp/language/data_members"> |
| 329 Non-static data members</a></td> | 338 Non-static data members</a></td> |
| 330 <td></td> | 339 <td></td> |
| 331 </tr> | 340 </tr> |
| 332 | 341 |
| 333 <tr> | 342 <tr> |
| 334 <td>Null Pointer Constant</td> | |
| 335 <td><code>nullptr</code></td> | |
| 336 <td>Declares a type-safe null pointer</td> | |
| 337 <td>TODO: documentation link</td> | |
| 338 <td><a href="https://google-styleguide.googlecode.com/svn/trunk/cppguide.html#0_ and_nullptr/NULL">Google Style Guidwe</a>. | |
| 339 </td> | |
| 340 </tr> | |
| 341 | |
| 342 <tr> | |
| 343 <td>Overrides</td> | 343 <td>Overrides</td> |
| 344 <td><code>override</code></td> | 344 <td><code>override</code></td> |
| 345 <td>Indicates that a class or function overrides a base implementation</td> | 345 <td>Indicates that a class or function overrides a base implementation</td> |
| 346 <td>TODO: documentation link</td> | 346 <td>TODO: documentation link</td> |
| 347 <td><code>OVERRIDE</code> is already widely used in the codebase.</td> | 347 <td><code>OVERRIDE</code> is already widely used in the codebase.</td> |
| 348 </tr> | 348 </tr> |
| 349 | 349 |
| 350 <tr> | 350 <tr> |
| 351 <td>Range-Based For Loops</td> | 351 <td>Range-Based For Loops</td> |
| 352 <td><code>for (<i>type</i> <i>var</i> : <i>range</i>)</code></td> | 352 <td><code>for (<i>type</i> <i>var</i> : <i>range</i>)</code></td> |
| (...skipping 589 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 942 </tr> | 942 </tr> |
| 943 | 943 |
| 944 </tbody> | 944 </tbody> |
| 945 </table> | 945 </table> |
| 946 | 946 |
| 947 </details> | 947 </details> |
| 948 | 948 |
| 949 </div> | 949 </div> |
| 950 </body> | 950 </body> |
| 951 </html> | 951 </html> |
| OLD | NEW |