| 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 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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>Containers containing movable types</td> | 277 <td>Containers containing movable types</td> |
| 278 <td><code>vector<scoped_ptr></code></td> | 278 <td><code>vector<scoped_ptr></code></td> |
| 279 <td>Enables containers that contain move-only types like <code>scoped_ptr</code>
</td> | 279 <td>Enables containers that contain move-only types like <code>scoped_ptr</code>
</td> |
| 280 <td>TODO</td> | 280 <td>TODO</td> |
| 281 <td>Allows getting rid of <a href="http://crbug.com/554289">ScopedVector</a></td
> | 281 <td>Allows getting rid of <a href="http://crbug.com/554289">ScopedVector</a></td
> |
| 282 </tr> | 282 </tr> |
| 283 |
| 284 <tr> |
| 285 <td>Lexicographical struct comparison</td> |
| 286 <td><code>tie(a, b, c) <<br> tie(rhs.a, rhs.b, rhs.c)</code></td> |
| 287 <td>Idiom for <code>operator<</code> implementation</td> |
| 288 <td><a href="http://en.cppreference.com/w/cpp/utility/tuple/tie">std::tie</a></t
d> |
| 289 <td>General use of <code>std::tuple</code>, and <code>std::tie</code> for unpack
ing or multiple assignments is still not allowed. <a href="https://groups.google
.com/a/chromium.org/d/topic/cxx/3DZ64dIMRTY/discussion">Discussion thread</a></t
d> |
| 290 </tr> |
| 283 </tbody> | 291 </tbody> |
| 284 </table> | 292 </table> |
| 285 | 293 |
| 286 <h2 id="blacklist">C++11 Blacklist (Disallowed and Banned Features)</h2> | 294 <h2 id="blacklist">C++11 Blacklist (Disallowed and Banned Features)</h2> |
| 287 | 295 |
| 288 <p>This section lists features that are not allowed to be used yet. | 296 <p>This section lists features that are not allowed to be used yet. |
| 289 | 297 |
| 290 <h3 id="blacklist_banned">C++11 Banned Features</h3> | 298 <h3 id="blacklist_banned">C++11 Banned Features</h3> |
| 291 | 299 |
| 292 <p>This section lists C++11 features that are not allowed in the Chromium | 300 <p>This section lists C++11 features that are not allowed in the Chromium |
| (...skipping 628 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 921 <td>Allows trailing function return value syntax</td> | 929 <td>Allows trailing function return value syntax</td> |
| 922 <td><a href="http://en.cppreference.com/w/cpp/language/function"> | 930 <td><a href="http://en.cppreference.com/w/cpp/language/function"> |
| 923 Declaring functions</a></td> | 931 Declaring functions</a></td> |
| 924 <td><a href="https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev
/OQyYSfH9m2M">Discussion thread</a></td> | 932 <td><a href="https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev
/OQyYSfH9m2M">Discussion thread</a></td> |
| 925 </tr> | 933 </tr> |
| 926 | 934 |
| 927 <tr> | 935 <tr> |
| 928 <td>Tuples</td> | 936 <td>Tuples</td> |
| 929 <td><code>std::tuple</code></td> | 937 <td><code>std::tuple</code></td> |
| 930 <td>A fixed-size ordered collection of values of mixed types</td> | 938 <td>A fixed-size ordered collection of values of mixed types</td> |
| 931 <td>TODO: documentation link</td> | 939 <td><a href="http://en.cppreference.com/w/cpp/utility/tuple">std::tuple</a></td> |
| 932 <td></td> | 940 <td><a href="https://crbug.com/554987">Tracking bug</a> to plan moving from <cod
e>base::Tuple</code> to <code>std::tuple</code>. See also <code>std::tie</code><
/td> |
| 933 </tr> | 941 </tr> |
| 934 | 942 |
| 935 <tr> | 943 <tr> |
| 936 <td>Type-Generic Math Functions</td> | 944 <td>Type-Generic Math Functions</td> |
| 937 <td>Functions within <code><ctgmath></code></td> | 945 <td>Functions within <code><ctgmath></code></td> |
| 938 <td>Provides a means to call real or complex functions | 946 <td>Provides a means to call real or complex functions |
| 939 based on the type of arguments</td> | 947 based on the type of arguments</td> |
| 940 <td><a href="http://en.cppreference.com/w/cpp/header/ctgmath"> | 948 <td><a href="http://en.cppreference.com/w/cpp/header/ctgmath"> |
| 941 Standard library header <ctgmath></a></td> | 949 Standard library header <ctgmath></a></td> |
| 942 <td></td> | 950 <td></td> |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1026 C++ Style Guide</a>. However, may be useful for | 1034 C++ Style Guide</a>. However, may be useful for |
| 1027 consuming non-ASCII data.</td> | 1035 consuming non-ASCII data.</td> |
| 1028 </tr> | 1036 </tr> |
| 1029 | 1037 |
| 1030 </tbody> | 1038 </tbody> |
| 1031 </table> | 1039 </table> |
| 1032 | 1040 |
| 1033 </div> | 1041 </div> |
| 1034 </body> | 1042 </body> |
| 1035 </html> | 1043 </html> |
| OLD | NEW |