1 Star 2 Fork 1

Guyutongxue/cppref

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
cpp.html 24.95 KB
一键复制 编辑 原始数据 按行查看 历史
Guyutongxue 提交于 2022-02-23 15:56 +08:00 . 202112
<!DOCTYPE html>
<html lang="zh" dir="ltr" class="client-nojs">
<head>
<title>C++ 参考手册</title>
<meta charset="UTF-8">
<meta name="generator" content="MediaWiki 1.21.2">
<link rel="shortcut icon" href="../common/favicon.ico">
<link rel="stylesheet" href="../common/ext.css">
<meta name="ResourceLoaderDynamicStyles" content="">
<link rel="stylesheet" href="../common/site_modules.css">
<style>a:lang(ar),a:lang(ckb),a:lang(fa),a:lang(kk-arab),a:lang(mzn),a:lang(ps),a:lang(ur){text-decoration:none}#toc{display:none}.editsection{display:none}
/* cache key: mwiki1-mwiki_zh_:resourceloader:filter:minify-css:7:15cea3ec788a65b5187d4018eed543bf */</style>
<script src="../common/startup_scripts.js"></script>
<script>if(window.mw){
mw.config.set({"wgCanonicalNamespace":"","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":0,"wgPageName":"cpp","wgTitle":"cpp","wgCurRevisionId":67023,"wgArticleId":881,"wgIsArticle":true,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":[],"wgBreakFrames":false,"wgPageContentLanguage":"zh","wgSeparatorTransformTable":["",""],"wgDigitTransformTable":["",""],"wgDefaultDateFormat":"zh","wgMonthNames":["","1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],"wgMonthNamesShort":["","1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],"wgRelevantPageName":"cpp","wgUserVariant":"zh","wgRestrictionEdit":[],"wgRestrictionMove":[]});
}</script><script>if(window.mw){
mw.loader.implement("user.options",function(){mw.user.options.set({"ccmeonemails":0,"cols":80,"date":"default","diffonly":0,"disablemail":0,"disablesuggest":0,"editfont":"default","editondblclick":0,"editsection":0,"editsectiononrightclick":0,"enotifminoredits":0,"enotifrevealaddr":0,"enotifusertalkpages":1,"enotifwatchlistpages":0,"extendwatchlist":0,"externaldiff":0,"externaleditor":0,"fancysig":0,"forceeditsummary":0,"gender":"unknown","hideminor":0,"hidepatrolled":0,"imagesize":2,"justify":0,"math":1,"minordefault":0,"newpageshidepatrolled":0,"nocache":0,"noconvertlink":0,"norollbackdiff":0,"numberheadings":0,"previewonfirst":0,"previewontop":1,"quickbar":5,"rcdays":7,"rclimit":50,"rememberpassword":0,"rows":25,"searchlimit":20,"showhiddencats":0,"showjumplinks":1,"shownumberswatching":1,"showtoc":0,"showtoolbar":1,"skin":"cppreference2","stubthreshold":0,"thumbsize":2,"underline":2,"uselivepreview":0,"usenewrc":0,"watchcreations":0,"watchdefault":0,"watchdeletion":0,
"watchlistdays":3,"watchlisthideanons":0,"watchlisthidebots":0,"watchlisthideliu":0,"watchlisthideminor":0,"watchlisthideown":0,"watchlisthidepatrolled":0,"watchmoves":0,"wllimit":250,"variant":"zh","language":"zh","searchNs0":true,"searchNs1":false,"searchNs2":false,"searchNs3":false,"searchNs4":false,"searchNs5":false,"searchNs6":false,"searchNs7":false,"searchNs8":false,"searchNs9":false,"searchNs10":false,"searchNs11":false,"searchNs12":false,"searchNs13":false,"searchNs14":false,"searchNs15":false,"gadget-MathJax":1,"gadget-ColiruCompiler":1});;},{},{});mw.loader.implement("user.tokens",function(){mw.user.tokens.set({"editToken":"+\\","patrolToken":false,"watchToken":false});;},{},{});
/* cache key: mwiki1-mwiki_zh_:resourceloader:filter:minify-js:7:258d7cd6aa9aa67dee25e01fb6a9e505 */
}</script>
<script>if(window.mw){
mw.loader.load(["mediawiki.page.startup","mediawiki.legacy.wikibits","mediawiki.legacy.ajax"]);
}</script>
<!--[if lt IE 7]><style type="text/css">body{behavior:url("/mwiki/skins/cppreference2/csshover.min.htc")}</style><![endif]--></head>
<body class="mediawiki ltr sitedir-ltr ns-0 ns-subject page-cpp skin-cppreference2 action-view cpp-navbar">
<!-- header -->
<!-- /header -->
<!-- content -->
<div id="cpp-content-base">
<div id="content">
<a id="top"></a>
<div id="mw-js-message" style="display:none;"></div>
<!-- firstHeading -->
<h1 id="firstHeading" class="firstHeading">C++ 参考手册</h1>
<!-- /firstHeading -->
<!-- bodyContent -->
<div id="bodyContent">
<!-- tagline -->
<div id="siteSub">来自cppreference.com</div>
<!-- /tagline -->
<!-- subtitle -->
<div id="contentSub"></div>
<!-- /subtitle -->
<!-- bodycontent -->
<div id="mw-content-text" lang="zh" dir="ltr" class="mw-content-ltr"><div class="t-navbar" style=""><div class="t-navbar-sep"> </div><div class="t-navbar-head"><strong class="selflink"> C++</strong><div class="t-navbar-menu"><div><div><table class="t-nv-begin" cellpadding="0" style="line-height:1.1em">
<tr class="t-nv"><td colspan="5"> <a href="cpp/language.html" title="cpp/language">语言</a> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="cpp/header.html" title="cpp/header">标准库头文件</a> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="cpp/freestanding.html" title="cpp/freestanding"> 自立与有宿主实现</a> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="cpp/named_req.html" title="cpp/named req">具名要求</a> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="cpp/utility.html#.E8.AF.AD.E8.A8.80.E6.94.AF.E6.8C.81" title="cpp/utility">语言支持库</a> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="cpp/concepts.html" title="cpp/concepts">概念库</a> <span class="t-mark-rev t-since-cxx20">(C++20)</span> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="cpp/error.html" title="cpp/error">诊断库</a> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="cpp/utility.html" title="cpp/utility">工具库</a> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="cpp/string.html" title="cpp/string">字符串库</a> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="cpp/container.html" title="cpp/container">容器库</a> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="cpp/iterator.html" title="cpp/iterator">迭代器库</a> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="cpp/ranges.html" title="cpp/ranges"> 范围库</a> <span class="t-mark-rev t-since-cxx20">(C++20)</span> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="cpp/algorithm.html" title="cpp/algorithm">算法库</a> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="cpp/numeric.html" title="cpp/numeric">数值库</a> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="cpp/locale.html" title="cpp/locale">本地化库</a> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="cpp/io.html" title="cpp/io">输入/输出库</a> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="cpp/filesystem.html" title="cpp/filesystem">文件系统库</a> <span class="t-mark-rev t-since-cxx17">(C++17)</span> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="cpp/regex.html" title="cpp/regex">正则表达式库</a> <span class="t-mark-rev t-since-cxx11">(C++11)</span> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="cpp/atomic.html" title="cpp/atomic">原子操作库</a> <span class="t-mark-rev t-since-cxx11">(C++11)</span> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="cpp/thread.html" title="cpp/thread">线程支持库</a> <span class="t-mark-rev t-since-cxx11">(C++11)</span> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="cpp/experimental.html" title="cpp/experimental">技术规范</a> </td></tr>
</table></div><div></div></div></div></div><div class="t-navbar-sep"> </div></div>
<table class="mainpagetable" cellspacing="0" style="width:100%; white-space:nowrap;">
<tr class="row rowtop">
<td colspan="3">
<p><span style="font-size: 0.8em;">C++98, C++03, <a href="cpp/11.html" title="cpp/11">C++11</a>, <a href="cpp/14.html" title="cpp/14">C++14</a>, <a href="cpp/17.html" title="cpp/17">C++17</a>, <a href="cpp/20.html" title="cpp/20">C++20</a>, <a href="cpp/23.html" title="cpp/23">C++23</a>   │  
<a href="cpp/compiler_support.html" title="cpp/compiler support"> 编译器支持</a> <a href="cpp/compiler_support/11.html" title="cpp/compiler support/11">C++11</a>, <a href="cpp/compiler_support/14.html" title="cpp/compiler support/14">C++14</a>, <a href="cpp/compiler_support/17.html" title="cpp/compiler support/17">C++17</a>, <a href="cpp/compiler_support/20.html" title="cpp/compiler support/20">C++20</a>, <a href="cpp/compiler_support/23.html" title="cpp/compiler support/23">C++23</a><br>
</span>
</p>
</td></tr>
<tr class="row">
<td>
<div class="mainpagediv">
<p><a href="cpp/freestanding.html" title="cpp/freestanding"> 自立实现</a>
</p>
</div>
<p><b><a href="cpp/language.html" title="cpp/language"> 语言</a></b>
</p>
<div class="mainpagediv">
<p><a href="cpp/language/basic_concepts.html" title="cpp/language/basic concepts"> 基本概念</a><br>
<a href="cpp/keywords.html" title="cpp/keyword"> 关键词</a><br>
<a href="cpp/preprocessor.html" title="cpp/preprocessor"> 预处理器</a><br>
<a href="cpp/language/expressions.html" title="cpp/language/expressions"> 表达式</a><br>
<a href="cpp/language/declarations.html" title="cpp/language/declarations"> 声明</a><br>
<a href="cpp/language/initialization.html" title="cpp/language/initialization"> 初始化</a><br>
<a href="cpp/language/functions.html" title="cpp/language/functions"> 函数</a><br>
<a href="cpp/language/statements.html" title="cpp/language/statements"> 语句</a><br>
<a href="cpp/language/classes.html" title="cpp/language/classes"></a><br>
<a href="cpp/language/operators.html" title="cpp/language/operators"> 重载</a><br>
<a href="cpp/language/templates.html" title="cpp/language/templates"> 模板</a><br>
<a href="cpp/language/exceptions.html" title="cpp/language/exceptions"> 异常</a><br>
</p>
</div>
<p><b><a href="cpp/header.html" title="cpp/header"> 头文件</a></b>
</p><p><b><a href="cpp/named_req.html" title="cpp/named req">具名要求</a></b>
</p><p><b><a href="cpp/feature_test.html" title="cpp/feature test">功能特性测试宏</a></b> <span class="t-mark-rev t-since-cxx20">(C++20)</span>
</p><p><b><a href="cpp/utility.html#.E8.AF.AD.E8.A8.80.E6.94.AF.E6.8C.81" title="cpp/utility"> 语言支持库</a></b>
</p>
<div class="mainpagediv">
<p><a href="cpp/utility/source_location.html" title="cpp/utility/source location"> 源代码信息</a> <span class="t-mark-rev t-since-cxx20">(C++20)</span><br>
<a href="cpp/types.html" title="cpp/types"> 类型支持</a>  −  <a href="cpp/types.html#.E7.B1.BB.E5.9E.8B.E7.89.B9.E6.80.A7.28C.2B.2B11_.E8.B5.B7.29" title="cpp/types"> 特性</a> <span class="t-mark-rev t-since-cxx11">(C++11)</span><br>
<a href="cpp/utility/program.html" title="cpp/utility/program"> 程序工具</a><br>
<a href="cpp/coroutine.html" title="cpp/coroutine"> 协程支持</a> <span class="t-mark-rev t-since-cxx20">(C++20)</span><br>
<a href="cpp/utility.html#.E4.B8.89.E8.B7.AF.E6.AF.94.E8.BE.83" title="cpp/utility"> 三路比较</a> <span class="t-mark-rev t-since-cxx20">(C++20)</span><br>
<a href="cpp/types/numeric_limits.html" title="cpp/types/numeric limits"><tt>numeric_limits</tt></a>  −  <a href="cpp/types/type_info.html" title="cpp/types/type info"><tt>type_info</tt></a><br>
<a href="cpp/utility/initializer_list.html" title="cpp/utility/initializer list"><tt>initializer_list</tt></a> <span class="t-mark-rev t-since-cxx11">(C++11)</span><br>
</p>
</div>
<p><b><a href="cpp/concepts.html" title="cpp/concepts"> 概念库</a></b> <span class="t-mark-rev t-since-cxx20">(C++20)</span>
</p>
</td>
<td>
<p><b><a href="cpp/error.html" title="cpp/error"> 诊断库</a></b>
</p><p><b><a href="cpp/utility.html#.E9.80.9A.E7.94.A8.E5.B7.A5.E5.85.B7" title="cpp/utility"> 通用工具库</a></b>
</p>
<div class="mainpagediv">
<p><a href="cpp/memory.html" title="cpp/memory"> 智能指针和分配器</a><br>
  <a href="cpp/memory/unique_ptr.html" title="cpp/memory/unique ptr"><tt>unique_ptr</tt></a> <span class="t-mark-rev t-since-cxx11">(C++11)</span><br>  <a href="cpp/memory/shared_ptr.html" title="cpp/memory/shared ptr"><tt>shared_ptr‏‎‏‎</tt></a> <span class="t-mark-rev t-since-cxx11">(C++11)</span><br>
<a href="cpp/chrono.html" title="cpp/chrono"> 日期和时间</a><br>
<a href="cpp/utility/functional.html" title="cpp/utility/functional"> 函数对象</a>  −  <a href="cpp/utility/hash.html" title="cpp/utility/hash"><tt>hash</tt></a> <span class="t-mark-rev t-since-cxx11">(C++11)</span><br>
<a href="cpp/utility.html#.E5.88.9D.E7.AD.89.E5.AD.97.E7.AC.A6.E4.B8.B2.E8.BD.AC.E6.8D.A2" title="cpp/utility"> 字符串转换</a> <span class="t-mark-rev t-since-cxx17">(C++17)</span><br>
<a href="cpp/utility.html#swap_.E4.B8.8E.E7.B1.BB.E5.9E.8B.E8.BF.90.E7.AE.97" title="cpp/utility"> 工具函数</a><br>
<a href="cpp/utility/pair.html" title="cpp/utility/pair"><tt>pair</tt></a>  −  
<a href="cpp/utility/tuple.html" title="cpp/utility/tuple"><tt>tuple</tt></a> <span class="t-mark-rev t-since-cxx11">(C++11)</span><br>
<a href="cpp/utility/optional.html" title="cpp/utility/optional"><tt>optional</tt></a> <span class="t-mark-rev t-since-cxx17">(C++17)</span>  −  <a href="cpp/utility/any.html" title="cpp/utility/any"><tt>any</tt></a> <span class="t-mark-rev t-since-cxx17">(C++17)</span><br>
<a href="cpp/utility/variant.html" title="cpp/utility/variant"><tt>variant</tt></a> <span class="t-mark-rev t-since-cxx17">(C++17)</span>  −  <a href="cpp/utility/format.html" title="cpp/utility/format"><tt>format</tt></a> <span class="t-mark-rev t-since-cxx20">(C++20)</span><br>
<a href="cpp/utility/basic_stacktrace.html" title="cpp/utility/basic stacktrace"><tt>basic_stacktrace</tt></a> <span class="t-mark-rev t-since-cxx23">(C++23)</span>
</p>
</div>
<p><b><a href="cpp/string.html" title="cpp/string"> 字符串库</a></b>
</p>
<div class="mainpagediv">
<p><a href="cpp/string/basic_string.html" title="cpp/string/basic string"><tt>basic_string</tt></a><br>
<a href="cpp/string/basic_string_view.html" title="cpp/string/basic string view"><tt>basic_string_view</tt></a> <span class="t-mark-rev t-since-cxx17">(C++17)</span><br>
空终止字符串:<br>
  <a href="cpp/string/byte.html" title="cpp/string/byte"> 字节</a>  −  <a href="cpp/string/multibyte.html" title="cpp/string/multibyte"> 多字节</a>  −  <a href="cpp/string/wide.html" title="cpp/string/wide"></a>
</p>
</div>
<p><b><a href="cpp/container.html" title="cpp/container"> 容器库</a></b>
</p>
<div class="mainpagediv">
<p><a href="cpp/container/array.html" title="cpp/container/array"><tt>array</tt></a> <span class="t-mark-rev t-since-cxx11">(C++11)</span>  −  <a href="cpp/container/vector.html" title="cpp/container/vector"><tt>vector</tt></a>  −  <a href="cpp/container/deque.html" title="cpp/container/deque"><tt>deque</tt></a><br>
<a href="cpp/container/map.html" title="cpp/container/map"><tt>map</tt></a>  −  <a href="cpp/container/unordered_map.html" title="cpp/container/unordered map"><tt>unordered_map</tt></a> <span class="t-mark-rev t-since-cxx11">(C++11)</span><br>
<a href="cpp/container/set.html" title="cpp/container/set"><tt>set</tt></a>  −  <a href="cpp/container/unordered_set.html" title="cpp/container/unordered set"><tt>unordered_set</tt></a> <span class="t-mark-rev t-since-cxx11">(C++11)</span><br>
<a href="cpp/container/priority_queue.html" title="cpp/container/priority queue"><tt>priority_queue</tt></a>  −  <a href="cpp/container/span.html" title="cpp/container/span"><tt>span</tt></a> <span class="t-mark-rev t-since-cxx20">(C++20)</span><br>
其他容器:<br>
  <a href="cpp/container.html#.E9.A1.BA.E5.BA.8F.E5.AE.B9.E5.99.A8" title="cpp/container">顺序</a>  −  <a href="cpp/container.html#.E5.85.B3.E8.81.94.E5.AE.B9.E5.99.A8" title="cpp/container">关联</a><br>
  <a href="cpp/container.html#.E6.97.A0.E5.BA.8F.E5.85.B3.E8.81.94.E5.AE.B9.E5.99.A8" title="cpp/container">无序关联</a>  −  <a href="cpp/container.html#.E5.AE.B9.E5.99.A8.E9.80.82.E9.85.8D.E5.99.A8" title="cpp/container">适配器</a>
</p>
</div>
<p><b><a href="cpp/iterator.html" title="cpp/iterator"> 迭代器库</a></b>
</p>
</td>
<td>
<p><b><a href="cpp/ranges.html" title="cpp/ranges"> 范围库</a></b> <span class="t-mark-rev t-since-cxx20">(C++20)</span>
</p><p><b><a href="cpp/algorithm.html" title="cpp/algorithm"> 算法库</a></b>
</p><p><b><a href="cpp/numeric.html" title="cpp/numeric"> 数值库</a></b>
</p>
<div class="mainpagediv">
<p><a href="cpp/numeric/math.html" title="cpp/numeric/math"> 常用数学函数</a><br>
<a href="cpp/numeric/special_functions.html" title="cpp/numeric/special functions"> 数学特殊函数</a> <span class="t-mark-rev t-since-cxx17">(C++17)</span><br>
<a href="cpp/numeric/constants.html" title="cpp/numeric/constants"> 数学常数</a> <span class="t-mark-rev t-since-cxx20">(C++20)</span><br>
<a href="cpp/numeric.html#.E6.95.B0.E5.80.BC.E7.AE.97.E6.B3.95" title="cpp/numeric"> 数值算法</a><br>
<a href="cpp/numeric/random.html" title="cpp/numeric/random"> 伪随机数生成</a><br>
<a href="cpp/numeric/fenv.html" title="cpp/numeric/fenv"> 浮点环境</a> <span class="t-mark-rev t-since-cxx11">(C++11)</span><br>
<a href="cpp/numeric.html#.E4.BD.8D.E6.93.8D.E7.BA.B5_.28C.2B.2B20_.E8.B5.B7.29" title="cpp/numeric"> 位操纵</a> <span class="t-mark-rev t-since-cxx20">(C++20)</span><br>
<a href="cpp/numeric/complex.html" title="cpp/numeric/complex"><tt>complex</tt></a>  −  <a href="cpp/numeric/valarray.html" title="cpp/numeric/valarray"><tt>valarray</tt></a><br>
<a href="cpp/numeric/ratio.html" title="cpp/numeric/ratio"><tt>ratio</tt></a> <span class="t-mark-rev t-since-cxx11">(C++11)</span>
</p>
</div>
<p><b><a href="cpp/locale.html" title="cpp/locale"> 本地化库</a></b>
</p><p><b><a href="cpp/io.html" title="cpp/io"> 输入/输出库</a></b>
</p>
<div class="mainpagediv">
<p><a href="cpp/io.html#.E5.9F.BA.E4.BA.8E.E6.B5.81.E7.9A.84_I.2FO" title="cpp/io">基于流的 I/O</a><br>
<a href="cpp/io.html#.E5.90.8C.E6.AD.A5.E7.9A.84.E8.BE.93.E5.87.BA" title="cpp/io"> 同步输出</a> <span class="t-mark-rev t-since-cxx20">(C++20)</span><br>
<a href="cpp/io/manip.html" title="cpp/io/manip"> I/O 操纵符</a><br>
</p>
</div>
<p><b><a href="cpp/filesystem.html" title="cpp/filesystem"> 文件系统库</a></b> <span class="t-mark-rev t-since-cxx17">(C++17)</span>
</p><p><b><a href="cpp/regex.html" title="cpp/regex"> 正则表达式库</a></b> <span class="t-mark-rev t-since-cxx11">(C++11)</span>
</p>
<div class="mainpagediv">
<p><a href="cpp/regex/basic_regex.html" title="cpp/regex/basic regex"><tt>basic_regex</tt></a>  −  <a href="cpp/regex.html#.E7.AE.97.E6.B3.95" title="cpp/regex">算法</a>
</p>
</div>
<p><b><a href="cpp/atomic.html" title="cpp/atomic"> 原子操作库</a></b> <span class="t-mark-rev t-since-cxx11">(C++11)</span>
</p>
<div class="mainpagediv">
<p><a href="cpp/atomic/atomic.html" title="cpp/atomic/atomic"><tt>atomic</tt></a>  −  <a href="cpp/atomic/atomic_flag.html" title="cpp/atomic/atomic flag"><tt>atomic_flag</tt></a><br>
<a href="cpp/atomic/atomic_ref.html" title="cpp/atomic/atomic ref"><tt>atomic_ref</tt></a> <span class="t-mark-rev t-since-cxx20">(C++20)</span>
</p>
</div>
<p><b><a href="cpp/thread.html" title="cpp/thread"> 线程支持库</a></b> <span class="t-mark-rev t-since-cxx11">(C++11)</span>
</p>
<div class="mainpagediv">
<p><a href="cpp/thread/thread.html" title="cpp/thread/thread"><tt>thread‏‎</tt></a> − <a href="cpp/thread/mutex.html" title="cpp/thread/mutex"><tt>mutex‏‎</tt></a><br><a href="cpp/thread/condition_variable.html" title="cpp/thread/condition variable"><tt>condition_variable‏‎</tt></a>
</p>
</div>
</td></tr>
<tr class="row">
<td colspan="3"><b><a href="cpp/experimental.html" title="cpp/experimental"> 技术规范</a></b><br>
<p>  <b><a href="cpp/experimental/lib_extensions.html" title="cpp/experimental/lib extensions">标准库扩展</a></b>  <span class="t-mark-rev t-since-libfund-ts t-mark-ts">(库基础 TS)</span>
</p>
<div class="mainpagediv">
<p><a href="cpp/experimental/resource_adaptor.html" title="cpp/experimental/resource adaptor"><tt>resource_adaptor</tt></a>
<a href="cpp/experimental/invocation_type.html" title="cpp/experimental/invocation type"><tt>invocation_type</tt></a>
</p>
</div>
<p>  <b><a href="cpp/experimental/lib_extensions_2.html" title="cpp/experimental/lib extensions 2">标准库扩展 v2</a></b>  <span class="t-mark-rev t-since-libfund-ts-2 t-mark-ts">(库基础 TS v2)</span>
</p>
<div class="mainpagediv">
<p><a href="cpp/experimental/propagate_const.html" title="cpp/experimental/propagate const"><tt>propagate_const</tt></a>
<a href="cpp/experimental/ostream_joiner.html" title="cpp/experimental/ostream joiner"><tt>ostream_joiner</tt></a>
<a href="cpp/experimental/randint.html" title="cpp/experimental/randint"><tt>randint</tt></a><br>
<a href="cpp/experimental/observer_ptr.html" title="cpp/experimental/observer ptr"><tt>observer_ptr</tt></a>
<a href="cpp/experimental/is_detected.html" title="cpp/experimental/is detected">检测手法</a>
</p>
</div>
<p>  <b><a href="cpp/experimental/lib_extensions_3.html" title="cpp/experimental/lib extensions 3">标准库扩展 v3</a></b>  <span class="t-mark-rev t-since-libfund-ts-3 t-mark-ts">(库基础 TS v3)</span>
</p>
<div class="mainpagediv">
<p><a href="cpp/experimental/scope_exit.html" title="cpp/experimental/scope exit"><tt>scope_exit</tt></a>
<a href="cpp/experimental/scope_fail.html" title="cpp/experimental/scope fail"><tt>scope_fail</tt></a>
<a href="cpp/experimental/scope_success.html" title="cpp/experimental/scope success"><tt>scope_success</tt></a>
<a href="cpp/experimental/unique_resource.html" title="cpp/experimental/unique resource"><tt>unique_resource</tt></a>
</p>
</div>
<p>  <b><a href="cpp/experimental/concurrency.html" title="cpp/experimental/concurrency">并发库扩展</a></b>  <span class="t-mark-rev t-since-concurrency-ts t-mark-ts">(并发 TS)</span>   —   <b><a href="cpp/language/transactional_memory.html" title="cpp/language/transactional memory">事务性内存</a></b>  <span class="t-mark-rev t-since-tm-ts t-mark-ts">(TM TS)</span><br>
  <b><a href="cpp/experimental/reflect.html" title="cpp/experimental/reflect">反射</a></b>  <span class="t-mark-rev t-since-reflection-ts t-mark-ts">(反射 TS)</span><br>
</p>
</td></tr>
<tr class="row rowbottom">
<td colspan="3"> <a href="cpp/links.html" title="cpp/links">外部链接</a>  −  <a href="cpp/links/libs.html" title="cpp/links/libs">非 ANSI/ISO 库</a>  −  <a href="cpp/index.html" title="cpp/index">索引</a>  −  <a href="cpp/symbol_index.html" title="cpp/symbol index">std 符号索引</a>
</td></tr></table>
<!--
NewPP limit report
Preprocessor visited node count: 1766/1000000
Preprocessor generated node count: 2594/1000000
Post‐expand include size: 34948/2097152 bytes
Template argument size: 6783/2097152 bytes
Highest expansion depth: 13/40
Expensive parser function count: 0/100
-->
<!-- Saved in parser cache with key mwiki1-mwiki_zh_:pcache:idhash:881-0!*!0!*!*!*!zh!* and timestamp 20211215015025 -->
</div> <!-- /bodycontent -->
<!-- printfooter -->
<div class="printfooter">
来自“<a href="https://zh.cppreference.com/mwiki/index.php?title=cpp&amp;oldid=67023">https://zh.cppreference.com/mwiki/index.php?title=cpp&amp;oldid=67023</a></div>
<!-- /printfooter -->
<!-- catlinks -->
<!-- /catlinks -->
<div class="visualClear"></div>
<!-- debughtml -->
<!-- /debughtml -->
</div>
<!-- /bodyContent -->
</div>
</div>
<!-- /content -->
<!-- footer -->
<div id="cpp-footer-base" class="noprint">
<div id="footer">
<div id="cpp-navigation">
<h5>导航</h5>
<ul><li><a href="https://zh.cppreference.com/w/cpp">Online version</a></li><li>Offline version retrieved 2022-01-01 00:37.</li></ul></div>
<ul id="footer-info">
<li id="footer-info-lastmod"> 本页面最后修改于2020年6月20日 (星期六) 03:33。</li>
<li id="footer-info-viewcount">此页面已被浏览过865,820次。</li>
</ul>
</div>
</div>
<!-- /footer -->
<script>if(window.mw){
mw.loader.state({"site":"loading","user":"missing","user.groups":"ready"});
}</script>
<script src="../common/skin_scripts.js"></script>
<script>if(window.mw){
mw.loader.load(["mediawiki.action.view.postEdit","mediawiki.user","mediawiki.page.ready","mediawiki.searchSuggest","mediawiki.hidpi","ext.gadget.MathJax","ext.gadget.ColiruCompiler"], null, true);
}</script>
<script src="../common/site_scripts.js"></script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-2828341-1']);
_gaq.push(['_setDomainName', 'cppreference.com']);
_gaq.push(['_trackPageview']);
</script><!-- Served in 0.271 secs. -->
</body>
<!-- Cached 20211215015025 -->
</html>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/guyutongxue/cppref.git
git@gitee.com:guyutongxue/cppref.git
guyutongxue
cppref
cppref
master

搜索帮助