| 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 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 267 | 267 |
| 268 <tr> | 268 <tr> |
| 269 <th style='width:240px;'>Feature or Library</th> | 269 <th style='width:240px;'>Feature or Library</th> |
| 270 <th style='width:240px;'>Snippet</th> | 270 <th style='width:240px;'>Snippet</th> |
| 271 <th style='width:240px;'>Description</th> | 271 <th style='width:240px;'>Description</th> |
| 272 <th style='width:240px;'>Documentation Link</th> | 272 <th style='width:240px;'>Documentation Link</th> |
| 273 <th style='width:240px;'>Notes</th> | 273 <th style='width:240px;'>Notes</th> |
| 274 </tr> | 274 </tr> |
| 275 | 275 |
| 276 <tr> | 276 <tr> |
| 277 <td>Access to underlying <code>std::vector</code> data</td> |
| 278 <td><code>v.data()</code></td> |
| 279 <td>Returns a pointer to a <code>std::vector</code>'s underlying data, accountin
g for empty vectors.</td> |
| 280 <td><a href="http://en.cppreference.com/w/cpp/container/vector/data">std::vector
::data</a></td> |
| 281 <td><a href="https://groups.google.com/a/chromium.org/forum/#!topic/cxx/16V7fmtb
zok">Discussion thread</a>.</td> |
| 282 </tr> |
| 283 |
| 284 <tr> |
| 277 <td>Containers containing movable types</td> | 285 <td>Containers containing movable types</td> |
| 278 <td><code>vector<scoped_ptr></code></td> | 286 <td><code>vector<scoped_ptr></code></td> |
| 279 <td>Enables containers that contain move-only types like <code>scoped_ptr</code>
</td> | 287 <td>Enables containers that contain move-only types like <code>scoped_ptr</code>
</td> |
| 280 <td>TODO</td> | 288 <td>TODO</td> |
| 281 <td>Allows getting rid of <a href="http://crbug.com/554289">ScopedVector</a></td
> | 289 <td>Allows getting rid of <a href="http://crbug.com/554289">ScopedVector</a></td
> |
| 282 </tr> | 290 </tr> |
| 283 | 291 |
| 284 <tr> | 292 <tr> |
| 285 <td>Lexicographical struct comparison</td> | 293 <td>Lexicographical struct comparison</td> |
| 286 <td><code>tie(a, b, c) <<br> tie(rhs.a, rhs.b, rhs.c)</code></td> | 294 <td><code>tie(a, b, c) <<br> tie(rhs.a, rhs.b, rhs.c)</code></td> |
| (...skipping 747 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1034 C++ Style Guide</a>. However, may be useful for | 1042 C++ Style Guide</a>. However, may be useful for |
| 1035 consuming non-ASCII data.</td> | 1043 consuming non-ASCII data.</td> |
| 1036 </tr> | 1044 </tr> |
| 1037 | 1045 |
| 1038 </tbody> | 1046 </tbody> |
| 1039 </table> | 1047 </table> |
| 1040 | 1048 |
| 1041 </div> | 1049 </div> |
| 1042 </body> | 1050 </body> |
| 1043 </html> | 1051 </html> |
| OLD | NEW |