Chromium Code Reviews| 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 848 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 859 | 859 |
| 860 <tr> | 860 <tr> |
| 861 <td>Soft Program Exits</td> | 861 <td>Soft Program Exits</td> |
| 862 <td><code>std::at_quick_exit()</code>, <code>std::quick_exit()</code></td> | 862 <td><code>std::at_quick_exit()</code>, <code>std::quick_exit()</code></td> |
| 863 <td>Allows registration of functions to be called upon exit, allowing cleaner pr ogram exit than <code>abort()</code> or <code>exit</code></td> | 863 <td>Allows registration of functions to be called upon exit, allowing cleaner pr ogram exit than <code>abort()</code> or <code>exit</code></td> |
| 864 <td><a href="http://en.cppreference.com/w/cpp/utility/program/quick_exit">std:qu ick_exit</a></td> | 864 <td><a href="http://en.cppreference.com/w/cpp/utility/program/quick_exit">std:qu ick_exit</a></td> |
| 865 <td></td> | 865 <td></td> |
| 866 </tr> | 866 </tr> |
| 867 | 867 |
| 868 <tr> | 868 <tr> |
| 869 <td>String to Number Functions</td> | 869 <td>String-Number Conversion Functions</td> |
|
dcheng
2016/07/25 04:19:59
In the standard, these are called "Numeric convers
| |
| 870 <td><code>std::stoi()</code>, <code>std::stol()</code>, <code>std::stoul()</code >, <code>std::stoll</code>, <code>std::stoull()</code>, <code>std::stof()</code> , <code>std::stod()</code>, <code>std::stold()</code>, <code>std::to_string()</c ode></td> | 870 <td><code>std::stoi()</code>, <code>std::stol()</code>, <code>std::stoul()</code >, <code>std::stoll</code>, <code>std::stoull()</code>, <code>std::stof()</code> , <code>std::stod()</code>, <code>std::stold()</code>, <code>std::to_string()</c ode></td> |
| 871 <td>Converts strings to numbers</td> | 871 <td>Converts strings to/from numbers</td> |
|
dcheng
2016/07/25 04:19:59
I tried to imply that this covers conversions in b
| |
| 872 <td><a href="http://en.cppreference.com/w/cpp/string/basic_string/stol">std::sto i, std::stol, std::stoll</a>, <a href="http://en.cppreference.com/w/cpp/string/b asic_string/stoul">std::stoul, std::stoull</a>, <a href="http://en.cppreference. com/w/cpp/string/basic_string/stof">std::stof, std::stod, std::stold</a></td> | 872 <td><a href="http://en.cppreference.com/w/cpp/string/basic_string/stol">std::sto i, std::stol, std::stoll</a>, <a href="http://en.cppreference.com/w/cpp/string/b asic_string/stoul">std::stoul, std::stoull</a>, <a href="http://en.cppreference. com/w/cpp/string/basic_string/stof">std::stof, std::stod, std::stold</a></td> |
|
chili
2016/07/25 06:00:14
the std::to_string link is missing here as well?
dcheng
2016/07/25 06:41:22
Done.
| |
| 873 <td></td> | 873 <td></td> |
| 874 </tr> | 874 </tr> |
| 875 | 875 |
| 876 <tr> | 876 <tr> |
| 877 <td>System Errors</td> | 877 <td>System Errors</td> |
| 878 <td><code><system_error></code></td> | 878 <td><code><system_error></code></td> |
| 879 <td>Provides a standard system error library</td> | 879 <td>Provides a standard system error library</td> |
| 880 <td><a href="http://en.cppreference.com/w/cpp/error/system_error">std::system_er ror</a></td> | 880 <td><a href="http://en.cppreference.com/w/cpp/error/system_error">std::system_er ror</a></td> |
| 881 <td></td> | 881 <td></td> |
| 882 </tr> | 882 </tr> |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 921 <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> | 921 <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> |
| 922 <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> | 922 <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> |
| 923 </tr> | 923 </tr> |
| 924 | 924 |
| 925 </tbody> | 925 </tbody> |
| 926 </table> | 926 </table> |
| 927 | 927 |
| 928 </div> | 928 </div> |
| 929 </body> | 929 </body> |
| 930 </html> | 930 </html> |
| OLD | NEW |