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 439 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
450 | 450 |
451 <tr> | 451 <tr> |
452 <td>Move Semantics</td> | 452 <td>Move Semantics</td> |
453 <td><code>std::move()</code></td> | 453 <td><code>std::move()</code></td> |
454 <td>Facilitates efficient move operations</td> | 454 <td>Facilitates efficient move operations</td> |
455 <td><a href="http://en.cppreference.com/w/cpp/utility/move">std::move</a></td> | 455 <td><a href="http://en.cppreference.com/w/cpp/utility/move">std::move</a></td> |
456 <td><a href='https://groups.google.com/a/chromium.org/forum/#!topic/cxx/x_dWFxJF
dbM'>Discussion thread</a></td> | 456 <td><a href='https://groups.google.com/a/chromium.org/forum/#!topic/cxx/x_dWFxJF
dbM'>Discussion thread</a></td> |
457 </tr> | 457 </tr> |
458 | 458 |
459 <tr> | 459 <tr> |
| 460 <td>Random Number Generators</td> |
| 461 <td><code><random></code></td> |
| 462 <td>Random number generation algorithms and utilities</td> |
| 463 <td><a href="http://en.cppreference.com/w/cpp/numeric/random">Pseudo-random numb
er generation</a></td> |
| 464 <td>Because the standard does not define precisely how the <code><i>xxx</i>_dist
ribution</code> objects generate output, the same object may produce different o
utput for the same seed across platforms, or even across different versions of t
he STL. Do not use these objects in any scenario where behavioral consistency is
required. <a href="https://groups.google.com/a/chromium.org/forum/#!topic/cxx/M
LgK9vCE4BA">Discussion thread</a></td> |
| 465 </tr> |
| 466 |
| 467 <tr> |
460 <td>String Direct Reference Functions</td> | 468 <td>String Direct Reference Functions</td> |
461 <td><code>std::string::front()</code>, <code>std::string::back()</code></td> | 469 <td><code>std::string::front()</code>, <code>std::string::back()</code></td> |
462 <td>Returns a reference to the front or back of a string</td> | 470 <td>Returns a reference to the front or back of a string</td> |
463 <td><a href="http://en.cppreference.com/w/cpp/string/basic_string/front">std::ba
sic_string::front</a>, <a href="http://en.cppreference.com/w/cpp/string/basic_st
ring/back">std::basic_string::back</a></td> | 471 <td><a href="http://en.cppreference.com/w/cpp/string/basic_string/front">std::ba
sic_string::front</a>, <a href="http://en.cppreference.com/w/cpp/string/basic_st
ring/back">std::basic_string::back</a></td> |
464 <td><a href="https://groups.google.com/a/chromium.org/forum/#!topic/cxx/DRJuROAY
CV4">Discussion thread</a></td> | 472 <td><a href="https://groups.google.com/a/chromium.org/forum/#!topic/cxx/DRJuROAY
CV4">Discussion thread</a></td> |
465 </tr> | 473 </tr> |
466 | 474 |
467 <tr> | 475 <tr> |
468 <td>Type Traits</td> | 476 <td>Type Traits</td> |
469 <td>All C++11 features in <code><type_traits></code> except for aligned st
orage (see separate item), e.g.:<br/> | 477 <td>All C++11 features in <code><type_traits></code> except for aligned st
orage (see separate item), e.g.:<br/> |
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
836 | 844 |
837 <tr> | 845 <tr> |
838 <td>Pointer Traits Class Template</td> | 846 <td>Pointer Traits Class Template</td> |
839 <td><code>std::pointer_traits</code></td> | 847 <td><code>std::pointer_traits</code></td> |
840 <td>Provides a standard way to access properties of pointers and pointer-like ty
pes</td> | 848 <td>Provides a standard way to access properties of pointers and pointer-like ty
pes</td> |
841 <td><a href="http://en.cppreference.com/w/cpp/memory/pointer_traits">std::pointe
r_traits</a></td> | 849 <td><a href="http://en.cppreference.com/w/cpp/memory/pointer_traits">std::pointe
r_traits</a></td> |
842 <td>Useful for determining the element type pointed at by a (possibly smart) poi
nter.</td> | 850 <td>Useful for determining the element type pointed at by a (possibly smart) poi
nter.</td> |
843 </tr> | 851 </tr> |
844 | 852 |
845 <tr> | 853 <tr> |
846 <td>Random Number Generators</td> | |
847 <td>Functions within <code><random></code></td> | |
848 <td>Random number generation algorithms and utilities</td> | |
849 <td><a href="http://en.cppreference.com/w/cpp/numeric/random">Pseudo-random numb
er generation</a></td> | |
850 <td></td> | |
851 </tr> | |
852 | |
853 <tr> | |
854 <td>Ratio Template Class</td> | 854 <td>Ratio Template Class</td> |
855 <td><code>std::ratio<<i>numerator</i>, <i>denominator</i>></code></td> | 855 <td><code>std::ratio<<i>numerator</i>, <i>denominator</i>></code></td> |
856 <td>Provides compile-time rational numbers</td> | 856 <td>Provides compile-time rational numbers</td> |
857 <td><a href="http://en.cppreference.com/w/cpp/numeric/ratio/ratio">std::ratio</a
></td> | 857 <td><a href="http://en.cppreference.com/w/cpp/numeric/ratio/ratio">std::ratio</a
></td> |
858 <td>Banned in <a href="https://google.github.io/styleguide/cppguide.html#C++11">
Google Style Guide</a> due to concerns that they are tied to a more template-hea
vy interface style.</td> | 858 <td>Banned in <a href="https://google.github.io/styleguide/cppguide.html#C++11">
Google Style Guide</a> due to concerns that they are tied to a more template-hea
vy interface style.</td> |
859 </tr> | 859 </tr> |
860 | 860 |
861 <tr> | 861 <tr> |
862 <td>Reference Wrapper Classes</td> | 862 <td>Reference Wrapper Classes</td> |
863 <td><code>std::reference_wrapper</code> and <code>std::ref()</code>, <code>std::
cref()</code></td> | 863 <td><code>std::reference_wrapper</code> and <code>std::ref()</code>, <code>std::
cref()</code></td> |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
930 <td><a href="http://en.cppreference.com/w/cpp/locale/wstring_convert">std::wstri
ng_convert</a>, <a href="http://en.cppreference.com/w/cpp/locale/wbuffer_convert
">std::wbuffer_convert</a>, <a href="http://en.cppreference.com/w/cpp/locale/cod
ecvt_utf8">std::codecvt_utf8</a>, <a href="http://en.cppreference.com/w/cpp/loca
le/codecvt_utf16">std::codecvt_utf16</a>, <a href="http://en.cppreference.com/w/
cpp/locale/codecvt_utf8_utf16">std::codecvt_utf8_utf16</a></td> | 930 <td><a href="http://en.cppreference.com/w/cpp/locale/wstring_convert">std::wstri
ng_convert</a>, <a href="http://en.cppreference.com/w/cpp/locale/wbuffer_convert
">std::wbuffer_convert</a>, <a href="http://en.cppreference.com/w/cpp/locale/cod
ecvt_utf8">std::codecvt_utf8</a>, <a href="http://en.cppreference.com/w/cpp/loca
le/codecvt_utf16">std::codecvt_utf16</a>, <a href="http://en.cppreference.com/w/
cpp/locale/codecvt_utf8_utf16">std::codecvt_utf8_utf16</a></td> |
931 <td>Non-UTF-8 text is banned by the <a href="https://google.github.io/styleguide
/cppguide.html#Non-ASCII_Characters">Google Style Guide</a>. However, may be use
ful for consuming non-ASCII data.</td> | 931 <td>Non-UTF-8 text is banned by the <a href="https://google.github.io/styleguide
/cppguide.html#Non-ASCII_Characters">Google Style Guide</a>. However, may be use
ful for consuming non-ASCII data.</td> |
932 </tr> | 932 </tr> |
933 | 933 |
934 </tbody> | 934 </tbody> |
935 </table> | 935 </table> |
936 | 936 |
937 </div> | 937 </div> |
938 </body> | 938 </body> |
939 </html> | 939 </html> |
OLD | NEW |