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 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
354 <td><a href="http://go/totw:54"> | 354 <td><a href="http://go/totw:54"> |
355 Tip of the Week #54: Controlling Your Inheritance</a></td> | 355 Tip of the Week #54: Controlling Your Inheritance</a></td> |
356 <td><code>OVERRIDE</code> is already widely used in the codebase.</td> | 356 <td><code>OVERRIDE</code> is already widely used in the codebase.</td> |
357 </tr> | 357 </tr> |
358 | 358 |
359 <tr> | 359 <tr> |
360 <td>Range-Based For Loops</td> | 360 <td>Range-Based For Loops</td> |
361 <td><code>for (<i>type</i> <i>var</i> : <i>range</i>)</code></td> | 361 <td><code>for (<i>type</i> <i>var</i> : <i>range</i>)</code></td> |
362 <td>Facilitates a more concise syntax for iterating over the elements | 362 <td>Facilitates a more concise syntax for iterating over the elements |
363 of a container (or a range of iterators) in a <code>for</code> loop</td> | 363 of a container (or a range of iterators) in a <code>for</code> loop</td> |
364 <td>TODO: documentation link/a></td> | 364 <td>TODO: documentation link</td> |
365 <td></td> | 365 <td></td> |
366 </tr> | 366 </tr> |
367 | 367 |
368 <tr> | 368 <tr> |
369 <td>Raw String Literals</td> | 369 <td>Raw String Literals</td> |
370 <td><code>string <i>var</i>=R"(<i>raw_string</i>)";</code></td> | 370 <td><code>string <i>var</i>=R"(<i>raw_string</i>)";</code></td> |
371 <td>Allows a string to be encoded without any escape | 371 <td>Allows a string to be encoded without any escape |
372 sequences, easing parsing in regex expressions, for example</td> | 372 sequences, easing parsing in regex expressions, for example</td> |
373 <td>TODO: documentation linkRaw String Literals</a></td> | 373 <td>TODO: documentation link</td> |
374 <td></td> | 374 <td></td> |
375 </tr> | 375 </tr> |
376 | 376 |
377 <tr> | 377 <tr> |
378 <td>Rvalue References (and Move Semantics)</td> | 378 <td>Rvalue References (and Move Semantics)</td> |
379 <td><code>T(T&& t)</code> and <code>T& operator=(T&& t)</cod
e></td> | 379 <td><code>T(T&& t)</code> and <code>T& operator=(T&& t)</cod
e></td> |
380 <td>Reference that only binds to a temporary object</td> | 380 <td>Reference that only binds to a temporary object</td> |
381 <td>TODO: documentation linkstruction and assignment</a></td> | 381 <td>TODO: documentation link</td> |
382 <td></td> | 382 <td></td> |
383 </tr> | 383 </tr> |
384 | 384 |
385 <tr> | 385 <tr> |
386 <td>Static Assertions</td> | 386 <td>Static Assertions</td> |
387 <td><code>static_assert(<i>bool</i>, <i>string</i>)</code></td> | 387 <td><code>static_assert(<i>bool</i>, <i>string</i>)</code></td> |
388 <td>Tests compile-time conditions</td> | 388 <td>Tests compile-time conditions</td> |
389 <td><<a href="http://en.cppreference.com/w/cpp/language/static_assert">Static As
sertion</a></td> | 389 <td><<a href="http://en.cppreference.com/w/cpp/language/static_assert">Static As
sertion</a></td> |
390 <td></td> | 390 <td></td> |
391 </tr> | 391 </tr> |
(...skipping 562 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
954 </tr> | 954 </tr> |
955 | 955 |
956 </tbody> | 956 </tbody> |
957 </table> | 957 </table> |
958 | 958 |
959 </details> | 959 </details> |
960 | 960 |
961 </div> | 961 </div> |
962 </body> | 962 </body> |
963 </html> | 963 </html> |
OLD | NEW |