| 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 <title>C++11 use in Chromium</title> | 10 <title>C++11 use in Chromium</title> |
| (...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 419 | 419 |
| 420 <tr> | 420 <tr> |
| 421 <th style='width:240px;'>Feature or Library</th> | 421 <th style='width:240px;'>Feature or Library</th> |
| 422 <th style='width:240px;'>Snippet</th> | 422 <th style='width:240px;'>Snippet</th> |
| 423 <th style='width:240px;'>Description</th> | 423 <th style='width:240px;'>Description</th> |
| 424 <th style='width:240px;'>Documentation Link</th> | 424 <th style='width:240px;'>Documentation Link</th> |
| 425 <th style='width:240px;'>Notes</th> | 425 <th style='width:240px;'>Notes</th> |
| 426 </tr> | 426 </tr> |
| 427 | 427 |
| 428 <tr> | 428 <tr> |
| 429 <td>Alignment Features</td> |
| 430 <td> |
| 431 <code>alignas</code> specifier, |
| 432 <code>alignof</code> operator |
| 433 <td>Object alignment</td> |
| 434 <td> |
| 435 <a href="http://en.cppreference.com/w/cpp/language/alignas">alignas</a>, |
| 436 <a href="http://en.cppreference.com/w/cpp/language/alignof">alignof</a> |
| 437 </td> |
| 438 <td> |
| 439 <a href="https://codereview.chromium.org/1497963002/">Doesn't work in |
| 440 MSVS2013</a>. |
| 441 <a href="https://msdn.microsoft.com/en-us/library/dn956970.aspx">MSVS2015 |
| 442 supports them</a>; reevaluate after MSVS2015 is available. |
| 443 <a href="https://groups.google.com/a/chromium.org/d/msg/cxx/rwXN02jzzq0/CpUc1ZzM
BQAJ">Discussion thread</a> |
| 444 </td> |
| 445 </tr> |
| 446 |
| 447 <tr> |
| 429 <td>Constant Expressions</td> | 448 <td>Constant Expressions</td> |
| 430 <td><code>constexpr</code></td> | 449 <td><code>constexpr</code></td> |
| 431 <td>Compile-time constant expressions</td> | 450 <td>Compile-time constant expressions</td> |
| 432 <td><a href="http://en.cppreference.com/w/cpp/language/constexpr"> | 451 <td><a href="http://en.cppreference.com/w/cpp/language/constexpr"> |
| 433 constexpr specifier</a></td> | 452 constexpr specifier</a></td> |
| 434 <td>Doesn't work in MSVS2013. Reevalute once it does. <a | 453 <td>Doesn't work in MSVS2013. Reevalute once it does. <a |
| 435 href="https://google.github.io/styleguide/cppguide.html#Use_of_constexpr">Google | 454 href="https://google.github.io/styleguide/cppguide.html#Use_of_constexpr">Google |
| 436 Style Guide on <code>constexpr</code></a></td> | 455 Style Guide on <code>constexpr</code></a></td> |
| 437 </tr> | 456 </tr> |
| 438 | 457 |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 578 | 597 |
| 579 <tr> | 598 <tr> |
| 580 <th style='width:240px;'>Feature</th> | 599 <th style='width:240px;'>Feature</th> |
| 581 <th style='width:240px;'>Snippet</th> | 600 <th style='width:240px;'>Snippet</th> |
| 582 <th style='width:240px;'>Description</th> | 601 <th style='width:240px;'>Description</th> |
| 583 <th style='width:240px;'>Documentation Link</th> | 602 <th style='width:240px;'>Documentation Link</th> |
| 584 <th style='width:240px;'>Notes</th> | 603 <th style='width:240px;'>Notes</th> |
| 585 </tr> | 604 </tr> |
| 586 | 605 |
| 587 <tr> | 606 <tr> |
| 588 <td>Alignment Features</td> | |
| 589 <td> | |
| 590 <code>alignas</code> specifier, | |
| 591 <code>alignof</code> operator, | |
| 592 <td>Object alignment</td> | |
| 593 <td><a href="http://en.cppreference.com/w/cpp/language/alignof">alignof</a></td> | |
| 594 <td></td> | |
| 595 </tr> | |
| 596 | |
| 597 <tr> | |
| 598 <td>Attributes</td> | 607 <td>Attributes</td> |
| 599 <td><code>[[<i>attribute_name</i>]]</code></td> | 608 <td><code>[[<i>attribute_name</i>]]</code></td> |
| 600 <td>Attaches properties to declarations that | 609 <td>Attaches properties to declarations that |
| 601 specific compiler implementations may use.</td> | 610 specific compiler implementations may use.</td> |
| 602 <td><a href="http://www.codesynthesis.com/~boris/blog/2012/04/18/cxx11-generaliz
ed-attributes/"> | 611 <td><a href="http://www.codesynthesis.com/~boris/blog/2012/04/18/cxx11-generaliz
ed-attributes/"> |
| 603 C++11 generalized attributes</a></td> | 612 C++11 generalized attributes</a></td> |
| 604 <td></td> | 613 <td></td> |
| 605 </tr> | 614 </tr> |
| 606 | 615 |
| 607 <tr> | 616 <tr> |
| (...skipping 472 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1080 C++ Style Guide</a>. However, may be useful for | 1089 C++ Style Guide</a>. However, may be useful for |
| 1081 consuming non-ASCII data.</td> | 1090 consuming non-ASCII data.</td> |
| 1082 </tr> | 1091 </tr> |
| 1083 | 1092 |
| 1084 </tbody> | 1093 </tbody> |
| 1085 </table> | 1094 </table> |
| 1086 | 1095 |
| 1087 </div> | 1096 </div> |
| 1088 </body> | 1097 </body> |
| 1089 </html> | 1098 </html> |
| OLD | NEW |