Back to Cpp New Features

🌞🌞🌞 最新整理, C++ 学习资料,含C++ 11 / 14 / 17 / 20 / 23 新特性、入门教程、推荐书籍、优质文章、学习笔记、教学视频等

README.md

latest166.2 KB
Original Source

🌞🌞🌞 最新整理, C++ 学习资料,含C++ 11 / 14 / 17 / 20 / 23 新特性、入门教程、推荐书籍、优质文章、学习笔记、教学视频等

<div align=center>

🚀 直达 (# C++11) (# C++14) (# C++17) (# C++20) (# C++23)

</div>

🔥🔥🔥 【重磅推荐收藏:C++ 参考手册】 - 11~20你想要查的,他都有

🌋 C++ 发展历程

  • C++ 编程语言的历史可以追溯到 1979 年,当时 Bjarne Stroustrup 为博士学位论文进行了一些开发。在 Stroustrup 可以使用的所有语言中,有一种被称为 Simula 的语言,顾名思义,它可能是一种主要为仿真而设计的语言。Simula 67 语言是 Stroustrup 使用的变体,被认为是支持面向对象编程范例的主要语言。Stroustrup 发现这种范例对包装开发很有帮助。但是,Simula 语言对于实践和实际使用而言太慢了。 随后不久,Bjarne Stroustrup 希望通过支持面向对象范例来增强 C。他深入研究了 Smalltalk 的 OO 实现,以获取有关实现的想法。但是他不愿意为此放弃性能,因此他开始从事 “C with Classes (带有类的 C)” 的工作,希望 C++ 代码运行时应具有与 C 代码相似(或更好)的性能。

  • 1983 年,语言的名称从 “带有类的 C” 更改为 C++。C 语言中的 ++ 运算符是用于递增变量的运算符,它使您可以深入了解 Stroustrup 如何看待该语言。在此期间添加了许多新功能,其中最引人注目的是虚函数,函数重载,带有&符号的引用,const 关键字和使用两个正斜杠的单行注释。

  • 1985 年,Stroustrup 出版了名为*“C++ 编程语言” 的书籍*。同年,C++ 被实现为商业产品。该语言尚未正式标准化,因此使该书成为非常重要的参考。该语言在 1989 年再次进行了更新,以包括受保护的成员和静态成员,以及从多个类的继承。

  • 1990 年,发行了*《带注释的 C++ 参考手册*》。同年,Borland 的 Turbo C++ 编译器将作为商业产品发布。Turbo C++ 添加了许多其他库,这些库会对 C++ 的开发产生相当大的影响。尽管 Turbo C++ 的最后一个稳定版本是 2006 年,但该编译器仍被广泛使用。

  • 1998 年,C++ 标准委员会发布了第一个 C++ ISO / IEC 14882:1998 国际标准,其非正式名称为 C++ 98。据说*《带注释的 C++ 参考手册*》对标准的制定产生了很大的影响。还包括标准模板库,该模板库于 1979 年开始概念开发。2003 年,该委员会对 1998 年标准所报告的多个问题做出了回应,并对其进行了相应的修订。更改的语言称为 C++ 03。

  • 2005 年,C++ 标准委员会发布了一份技术报告(称为 TR1),详细介绍了他们计划添加到最新 C++ 标准中的各种功能。新标准被非正式地称为 C++ 0x,因为它有望在第一个十年结束之前的某个时间发布。具有讽刺意味的是,新标准要到 2011 年年中才会发布。直到那时为止,已经发布了几份技术报告,并且一些编译器开始为新功能添加实验性支持。

  • 2011 年中,新的 C++ 标准(称为 C++ 11)完成。Boost 库项目对新标准产生了重大影响,其中一些新模块直接来自相应的 Boost 库。一些新功能包括正则表达式支持,全面的随机化库,新的 C++ 时间库,原子支持,标准线程库 ,一种新的 for 循环语法,提供的功能类似于某些其他语言中的 foreach 循环,auto 关键字,新的容器类,对联合和数组初始化列表以及可变参数模板的更好支持。

  • 2014 年,C++ 14(也称为 C++ 1y)作为 C++11 的一个小扩展发布,主要功能是错误修复和小的改进,国际标准投票程序草案于 2014 年 8 月中完成,加强 lambda 函数,constexpr 和类型推导特性。

  • 2017 年,发布 C17 标准,C17 提供了很多东西。增强了核心语言和库。

  • 2020 年,发布 C++20 标准,推出了很多重量级功能,其中比较重要的有:

    • Concepts:概念改变了我们思考和编程模板的方式。它们是模板参数的语义类别。它们使您可以直接在类型系统中表达您的意图。如果出了什么问题,您会收到清晰的错误消息。
    • Ranges library:新的 ranges 库使它可以直接在容器上执行算法,用管道符号组成算法,并将其应用于无限数据流。
    • Coroutines:由于协程,C++ 中的异步编程成为主流。协程是协作任务,事件循环,无限数据流或管道的基础。
    • Modules:模块克服了头文件的限制。头文件和源文件的分离变得和预处理器一样过时了。最后,我们有更快的构建时间和更轻松的构建软件包的方法。
    • Concurrency:Atomic Smart Pointers,Joining & Cancellable Threads,The C20 Synchronization Library,增强了 C++ 并发编程能力; </br>

🚪 入门教程

C++ 入门教程(41课时) - 阿里云大学

C++ 学习笔记

  • 一、基础知识
    • 1、goto 语句(不建议使用)
    • 2、一维数组
    • 3、二维数组
    • 4、函数中的值传递
    • 5、函数的声明
    • 6、函数的分文件编写
    • 7、指针
      • 7.1 指针的基本概念
      • 7.2 指针变量的定义和使用
      • 7.3 指针所占内存空间
      • 7.4 空指针和野指针
      • 7.5 const修饰指针
      • 7.6 指针和数组
      • 7.7 指针和函数
      • 7.8 指针、数组、函数
    • 8、结构体
      • 8.1 结构体基本概念
      • 8.2 结构体定义和使用
      • 8.3 结构体数组
      • 8.4 结构体指针
      • 8.5 结构体嵌套结构体
      • 8.6 结构体做函数参数
      • 8.7 结构体中 const使用场景
  • 二、核心编程
    • 1、内存分区模型
      • 1.1 程序运行前
      • 1.2 程序运行后
      • 1.3 new操作符
    • 2、引用
      • 2.1 引用的基本使用
      • 2.2 引用注意事项
      • 2.3 引用做函数参数
      • 2.4 引用做函数返回值
      • 2.5 引用的本质
      • 2.6 常量引用
    • 3、函数
      • 3.1 函数默认参数
      • 3.2 函数占位参数
      • 3.3 函数重载

📚 书籍推荐

📰 文章推荐

▶ 教学视频

【GeekBand】侯捷 - C++面向对象高级编程

🌰 干货铺

  • C++ Standard Library - 一系列类和函数的集合,使用核心语言编写,也是C++ISO自身标准的一部分
  • Standard Template Library - 标准模板库
  • C POSIX library - POSIX系统的C标准库规范
  • ISO C++ Standards Committee - C++标准委员会
  • C++ FAQ − C++ 常见问题
  • Free Country − Free Country 提供了免费的 C++ 源代码和 C++ 库,这些源代码和库涵盖了压缩、存档、游戏编程、标准模板库和 GUI 编程等 C++ 编程领域。
  • C and C++ Users Group − C 和 C++ 的用户团体提供了免费的涵盖各种编程领域 C++ 项目的源代码,包括 AI、动画、编译器、数据库、调试、加密、游戏、图形、GUI、语言工具、系统编程等
  • LearnCpp - 免费学习c++编程
  • CodeCogs - CodeCogs是一项协作的开放源码库,C/C++的数值方面的组件
  • codeproject - codeproject提供的C/C++资源代码项目
  • thoughtco - 游戏有关的C++源代码
  • Free C/C++ Libraries - 免费C++源代码和其它有用的工具
  • The C++ Standard Library - 这是一个收集了数C/C++网站链接列表的网页
  • cplusplus - C++学习网站
  • C++ Source Codes - 这是一个全面的关于C++的345个源代码清单

🗜 框架

  • Apache C++ Standard Library : 是一系列算法,容器,迭代器和其他基本组件的集合
  • ASL : Adobe源代码库提供了同行的评审和可移植的C++源代码库。
  • Boost : 大量通用C++库的集合。
  • BDE : 来自于彭博资讯实验室的开发环境。
  • Cinder : 提供专业品质创造性编码的开源开发社区。
  • Bxxomfort : 轻量级的,只包含头文件的库,将C++ 11的一些新特性移植到C++03中。
  • Dlib : 使用契约式编程和现代C++科技设计的通用的跨平台的C++库。
  • EASTL : EA-STL公共部分
  • ffead-cpp : 企业应用程序开发框架
  • Folly : 由Facebook开发和使用的开源C++库。
  • JUCE : 包罗万象的C++类库,用于开发跨平台软件
  • libphenom : 用于构建高性能和高度可扩展性系统的事件框架。
  • LibSourcey : 用于实时的视频流和高性能网络应用程序的C++11 evented IO
  • Loki : C++库的设计,包括常见的设计模式和习语的实现。
  • MiLi : 只含头文件的小型C++库
  • openFrameworks : 开发C++工具包,用于创意性编码。
  • Qt : 跨平台的应用程序和用户界面框架
  • Reason : 跨平台的框架,使开发者能够更容易地使用Java,.Net和Python,同时也满足了他们对C++性能和优势的需求。
  • ROOT : 具备所有功能的一系列面向对象的框架,能够非常高效地处理和分析大量的数据,为欧洲原子能研究机构所用。
  • STLport : 是STL具有代表性的版本
  • STXXL : 用于额外的大型数据集的标准模板库。
  • Ultimate++ : C++跨平台快速应用程序开发框架
  • Windows Template Library : 用于开发Windows应用程序和UI组件的C++库
  • Yomm11 : C++11的开放multi-methods.

异步事件循环

  • Boost.Asio : 用于网络和底层I/O编程的跨平台的C++库。
  • libev : 功能齐全,高性能的时间循环,轻微地仿效libevent,但是不再像libevent一样有局限性,也修复了它的一些bug。
  • libevent : 事件通知库
  • libuv : 跨平台异步I/O。
  • libco : 协程,微信支持8亿用户同时在线的底层IO库。功能强大
  • libgo : golang风格的并发框架,C++11实现协程库

网络库

  • ACE : C++面向对象网络变成工具包
  • Casablanca : C++ REST SDK
  • cpp-netlib : 高级网络编程的开源库集合
  • libCurl : 多协议文件传输库
  • Mongoose : 非常轻量级的网络服务器
  • Muduo : 用于Linux多线程服务器的C++非阻塞网络库
  • net_skeleton : C/C++的TCP 客户端/服务器库
  • POCO : 用于构建网络和基于互联网应用程序的C++类库,可以运行在桌面,服务器,移动和嵌入式系统。
  • RakNet : 为游戏开发人员提供的跨平台的开源C++网络引擎。
  • Tufao : 用于Qt之上的C++构建的异步Web框架。
  • WebSocket++ : 基于C++/Boost Aiso的websocket 客户端/服务器库
  • ZeroMQ : 高速,模块化的异步通信库

TCP/IP协议栈

  • f-stack : 腾讯开源的协议栈,基于DPDK的高性能用户态协议栈。
  • NtyTcp : 单线程的协议栈的,基于netmap,DPDK,rawSocket的实现。
  • LWIP : 针对 RAM 平台的精简版的 TCP/IP 协议栈实现。
  • mTCP : 针对多核系统的高可扩展性的用户空间 TCP/IP 协议栈。
  • 4.4BSD : * nix的协议栈是源于4.4BSD的。

WEB应用框架

  • Nginx : 一个高性能的HTTP和反向代理web服务器,同时也提供了IMAP/POP3/SMTP服务。
  • Lighttpd : 一款开源 Web 服务器软件,安全快速,符合行业标准,适配性强并且针对高配置环境进行了优化。
  • Libmicrohttpd : GNU软件下的简单c库的Web服务器。API简单,快速。
  • shttpd : 基于Mongoose的Web服务器框架。
  • CivetWeb : 提供易于使用,强大的,C/C++嵌入式Web服务器,带有可选的CGI,SSL和Lua支持。
  • CppCMS : 免费高性能的Web开发框架(不是 CMS).
  • Crow : 一个C++微型web框架(灵感来自于Python Flask)
  • Kore : 使用C语言开发的用于web应用程序的超快速和灵活的web服务器/框架。
  • libOnion : 轻量级的库,帮助你使用C编程语言创建web服务器。
  • QDjango : 使用C++编写的,基于Qt库的web框架,试图效仿Django API,因此得此名。
  • Wt : 开发Web应用的C++库。

标准库,算法与函数

音频库

  • FMOD : 易于使用的跨平台的音频引擎和音频内容的游戏创作工具。
  • Maximilian : C++音频和音乐数字信号处理库
  • OpenAL : 开源音频库—跨平台的音频API
  • Opus : 一个完全开放的,免版税的,高度通用的音频编解码器
  • Speex : 免费编解码器,为Opus所废弃
  • Tonic : C++易用和高效的音频合成
  • Vorbis : Ogg Vorbis是一种完全开放的,非专有的,免版税的通用压缩音频格式。

生态学

  • lisequence : 用于表示和分析群体遗传学数据的C++库。
  • SeqAn : 专注于生物数据序列分析的算法和数据结构。
  • Vcflib : 用于解析和处理VCF文件的C++库
  • Wham : 直接把联想测试应用到BAM文件的基因结构变异。

压缩

  • bzip2 : 一个完全免费,免费专利和高质量的数据压缩
  • doboz : 能够快速解压缩的压缩库
  • PhysicsFS : 对各种归档提供抽象访问的库,主要用于视频游戏,设计灵感部分来自于Quake3的文件子系统。
  • KArchive : 用于创建,读写和操作文件档案(例如zip和 tar)的库,它通过QIODevice的一系列子类,使用gzip格式,提供了透明的压缩和解压缩的数据。
  • LZ4 : 非常快速的压缩算法
  • LZHAM : 无损压缩数据库,压缩比率跟LZMA接近,但是解压缩速度却要快得多。
  • LZMA : 7z格式默认和通用的压缩方法。
  • LZMAT : 及其快速的实时无损数据压缩库
  • Minizip : Zlib最新bug修复,支持PKWARE磁盘跨越,AES加密和IO缓冲。
  • Snappy : 快速压缩和解压缩
  • ZLib : 非常紧凑的数据流压缩库
  • ZZIPlib : 提供ZIP归档的读权限。

并发性

  • Boost.Compute : 用于OpenCL的C++GPU计算库
  • Bolt : 针对GPU进行优化的C++模板库
  • C++React : 用于C++11的反应性编程库
  • Intel TBB : Intel线程构件块
  • Libclsph : 基于OpenCL的GPU加速SPH流体仿真库
  • OpenCL : 并行编程的异构系统的开放标准
  • OpenMP : OpenMP API
  • Thrust : 类似于C++标准模板库的并行算法库
  • HPX : 用于任何规模的并行和分布式应用程序的通用C++运行时系统
  • VexCL : 用于OpenCL/CUDA 的C++向量表达式模板库。

密码学

  • Bcrypt : 一个跨平台的文件加密工具,加密文件可以移植到所有可支持的操作系统和处理器中。
  • BeeCrypt : 快速的加密图形库,功能强大,接口方便。
  • Botan : C++加密库
  • Crypto++ : 一个有关加密方案的免费的C++库
  • GnuPG : OpenPGP标准的完整实现
  • GnuTLS : 实现了SSL,TLS和DTLS协议的安全通信库
  • Libgcrypt : 基于GnuPG的加密图形库。
  • Libmcrypt : 线程安全,提供统一的API。
  • LibreSSL : 免费的SSL/TLS协议,属于2014 OpenSSL的一个分支
  • LibTomCrypt : 一个非常全面的,模块化的,可移植的加密工具
  • libsodium : 基于NaCI的加密库,固执己见,容易使用
  • Nettle : 底层的加密库
  • OpenSSL : 一个强大的,商用的,功能齐全的,开放源代码的加密库。

数据库

  • hiberlite : 用于Sqlite3的C++对象关系映射
  • LevelDB : 快速键值存储库
  • LMDB : 符合数据库四大基本元素的嵌入键值存储
  • MySQL++ : 封装了MySql的C API的C++ 包装器
  • RocksDB : 来自Facebook的嵌入键值的快速存储
  • SQLite : 一个完全嵌入式的,功能齐全的关系数据库,只有几百KB,可以正确包含到你的项目中。
  • MongoDB : 一个基于分布式文件存储的数据库

调试

  • Boost.Test : Boost测试库
  • Catch : 一个很时尚的,C++原生的框架,只包含头文件,用于单元测试,测试驱动开发和行为驱动开发。
  • CppUnit : 由JUnit移植过来的C++测试框架
  • GoogleTest : 谷歌C++测试框架
  • ig-debugheap : 用于跟踪内存错误的多平台调试堆
  • MemTrack : 用于C++跟踪内存分配
  • MicroProfile : 跨平台的网络试图分析器
  • UnitTest++ : 轻量级的C++单元测试框架

容器

  • C++ B-Tree : 基于B树数据结构,实现命令内存容器的模板库
  • Hashmaps : C++中开放寻址哈希表算法的实现

游戏引擎

  • Cocos2d-x : 一个跨平台框架,用于构建2D游戏,互动图书,演示和其他图形应用程序。
  • Grit : 社区项目,用于构建一个免费的游戏引擎,实现开放的世界3D游戏。
  • lrrlicht : C++语言编写的开源高性能的实时#D引擎
  • PolyCode : C++实现的用于创建游戏的开源框架(与Lua绑定)。

图形库

  • bgfx : 跨平台的渲染库
  • Cairo : 支持多种输出设备的2D图形库
  • Horde3D : 一个小型的3D渲染和动画引擎
  • magnum : C++11和OpenGL 2D/3D 图形引擎
  • Ogre 3D : 用C++编写的一个面向场景,实时,灵活的3D渲染引擎(并非游戏引擎)
  • OpenSceneGraph : 具有高性能的开源3D图形工具包
  • Panda3D : 用于3D渲染和游戏开发的框架,用Python和C++编写。
  • Skia : 用于绘制文字,图形和图像的完整的2D图形库
  • urho3d : 跨平台的渲染和游戏引擎。

图像处理

  • Boost.GIL : 通用图像库
  • CImg : 用于图像处理的小型开源C++工具包
  • FreeImage : 开源库,支持现在多媒体应用所需的通用图片格式和其他格式。
  • GDCM : Grassroots DICOM 库
  • ITK : 跨平台的开源图像分析系统
  • Magick++ : ImageMagick程序的C++接口
  • OpenCV : 开源计算机视觉类库
  • tesseract-ocr : OCR引擎
  • VIGRA : 用于图像分析通用C++计算机视觉库
  • VTK : 用于3D计算机图形学,图像处理和可视化的开源免费软件系统。

国际化

  • gettext : GNU gettext
  • IBM ICU : 提供Unicode 和全球化支持的C、C++ 和Java库
  • libiconv : 用于不同字符编码之间的编码转换库

Json库

  • frozen : C/C++的Jason解析生成器
  • Jansson : 进行编解码和处理Jason数据的C语言库
  • jbson : C++14中构建和迭代BSON data,和Json 文档的库
  • JeayeSON : 非常健全的C++ JSON库,只包含头文件
  • JSON++ : C++ JSON 解析器
  • json-parser : 用可移植的ANSI C编写的JSON解析器,占用内存非常少
  • json11 : 一个迷你的C++11 JSON库
  • jute : 非常简单的C++ JSON解析器
  • ibjson : C语言中的JSON解析和打印库,很容易和任何模型集成
  • libjson : 轻量级的JSON库
  • PicoJSON : C++中JSON解析序列化,只包含头文件
  • Qt-Json : 用于JSON数据和 QVariant层次间的相互解析的简单类
  • QJson : 将JSON数据映射到QVariant对象的基于Qt的库
  • RepidJSON : 用于C++的快速JSON 解析生成器,包含SAX和DOM两种风格的API

日志

  • Boost.Log : 设计非常模块化,并且具有扩展性
  • easyloggingpp : C++日志库,只包含单一的头文件。
  • Log4cpp : 一系列C++类库,灵活添加日志到文件,系统日志,IDSA和其他地方。
  • templog : 轻量级C++库,可以添加日志到你的C++应用程序中

机器学习,人工智能

  • btsk : 游戏行为树启动器工具
  • Evolving Objects : 基于模板的,ANSI C++演化计算库,能够帮助你非常快速地编写出自己的随机优化算法。
  • Caffe : 快速的神经网络框架
  • CCV : 以C语言为核心的现代计算机视觉库
  • mlpack : 可扩展的C++机器学习库
  • OpenCV : 开源计算机视觉库
  • Recommender : 使用协同过滤进行产品推荐/建议的C语言库。
  • SHOGUN : Shogun 机器学习工具
  • sofia-ml : 用于机器学习的快速增量算法套件

数学库

  • Armadillo : 高质量的C++线性代数库,速度和易用性做到了很好的平衡。语法和MatlAB很相似
  • blaze : 高性能的C++数学库,用于密集和稀疏算法。
  • ceres-solver : 来自谷歌的C++库,用于建模和解决大型复杂非线性最小平方问题。
  • CGal : 高效,可靠的集合算法集合
  • CML : 用于游戏和图形的免费C++数学库
  • Eigen : 高级C++模板头文件库,包括线性代数,矩阵,向量操作,数值解决和其他相关的算法。
  • GMTL : 数学图形模板库是一组广泛实现基本图形的工具。
  • GMP : 用于个高精度计算的C/C++库,处理有符号整数,有理数和浮点数。

多媒体库

  • GStreamer : 构建媒体处理组件图形的库
  • LIVE555 Streaming Media : 使用开放标准协议(RTP/RTCP, RTSP, SIP) 的多媒体流库
  • libVLC : libVLC (VLC SDK)媒体框架
  • QtAV : 基于Qt和FFmpeg的多媒体播放框架,能够帮助你轻而易举地编写出一个播放器
  • SDL : 简单直控媒体层
  • SFML : 快速,简单的多媒体库

物理学

  • Box2D : 2D的游戏物理引擎。
  • Bullet : 3D的游戏物理引擎。
  • Chipmunk : 快速,轻量级的2D游戏物理库
  • LiquidFun : 2D的游戏物理引擎
  • ODE : 开放动力学引擎-开源,高性能库,模拟刚体动力学。
  • ofxBox2D : Box2D开源框架包装器。
  • Simbody : 高性能C++多体动力学/物理库,模拟关节生物力学和机械系统,像车辆,机器人和人体骨骼。

机器人学

  • MOOS-Ivp : 一组开源C++模块,提供机器人平台的自主权,尤其是自主的海洋车辆。
  • MRPT : 移动机器人编程工具包
  • PCL : 点云库是一个独立的,大规模的开放项目,用于2D/3D图像和点云处理。
  • Robotics Library : 一个独立的C++库,包括机器人动力学,运动规划和控制。
  • RobWork : 一组C++库的集合,用于机器人系统的仿真和控制。
  • ROS : 机器人操作系统,提供了一些库和工具帮助软件开发人员创建机器人应用程序。

脚本

  • ChaiScript : 用于C++的易于使用的嵌入式脚本语言。
  • Lua : 用于配置文件和基本应用程序脚本的小型快速脚本引擎。
  • luacxx : 用于创建Lua绑定的C++ 11 API
  • SWIG : 一个可以让你的C++代码链接到JavaScript,Perl,PHP,Python,Tcl和Ruby的包装器/接口生成器
  • V7 : 嵌入式的JavaScript 引擎。
  • V8 : 谷歌的快速JavaScript引擎,可以被嵌入到任何C++应用程序中。

序列化

  • Cap'n Proto : 快速数据交换格式和RPC系统。
  • cereal : C++11 序列化库
  • FlatBuffers : 内存高效的序列化库
  • MessagePack : C/C++的高效二进制序列化库,例如 JSON
  • ProtoBuf : 协议缓冲,谷歌的数据交换格式。
  • SimpleBinaryEncoding : 用于低延迟应用程序的对二进制格式的应用程序信息的编码和解码。
  • Thrift : 高效的跨语言IPC/RPC,用于C++,Java,Python,PHP,C#和其它多种语言中,最初由Facebook开发。

视频库

  • libvpx : VP8/VP9编码解码SDK
  • FFMpeg : 一个完整的,跨平台的解决方案,用于记录,转换视频和音频流。
  • libde265 : 开放的h.265视频编解码器的实现。
  • OpenH264 : 开源H.364 编解码器。
  • Theora : 免费开源的视频压缩格式。

XML库

  • LibXml++ : C++的xml解析器
  • PugiXML : 用于C++的,支持XPath的轻量级,简单快速的XML解析器。
  • RapidXML : 试图创建最快速的XML解析器,同时保持易用性,可移植性和合理的W3C兼容性。
  • TinyXML : 简单小型的C++XML解析器,可以很容易地集成到其它项目中。
  • TinyXML2 : 简单快速的C++CML解析器,可以很容易集成到其它项目中。
  • TinyXML++ : TinyXML的一个全新的接口,使用了C++的许多许多优势,模板,异常和更好的异常处理。
  • Xerces-C++ : 用可移植的C++的子集编写的XML验证解析器。

<div id="cpp_11" align=center> </div>

🖥 部分代码案例

<h3 id="cpp_11_keywords">关键字</h3>

<h5 id="cpp_11_new_keywords">新增关键字</h5>

<h5 id="cpp_11_meaning_changed__OR__new_meaning_added">含义变化或者新增含义关键字(meaning changed or new meaning added)</h5>

<h3 id="cpp_11_RTTI">类型支持(基本类型、RTTI、类型特性)</h3>

<h5 id="cpp_11_RTTI_Primary_type_categories">Defined in header <type_traits></h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_rtti_std_is_void.cpp">is_void</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_rtti_std_is_integral.cpp">is_integral</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_rtti_std_is_floating_point.cpp">is_floating_point</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_rtti_std_is_array.cpp">is_array</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_rtti_std_is_enum.cpp">is_enum</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_rtti_std_is_union.cpp">is_union</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_rtti_std_is_class.cpp">is_class</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_rtti_std_is_function.cpp">is_function</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_rtti_std_is_pointer.cpp">is_pointer</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_rtti_std_is_lvalue_reference.cpp">is_lvalue_reference</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_rtti_std_is_rvalue_reference.cpp">is_rvalue_reference</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_rtti_std_is_member_object_pointer.cpp">is_member_object_pointer</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_rtti_std_is_member_function_pointer.cpp">is_member_function_pointer</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_rtti_std_is_fundamental.cpp">is_fundamental</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_rtti_std_is_arithmetic.cpp">is_arithmetic</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_rtti_std_is_scalar.cpp">is_scalar</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_rtti_std_is_object.cpp">is_object</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_rtti_std_is_compound.cpp">is_compound</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_rtti_std_is_reference.cpp">is_reference</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_rtti_std_is_member_pointer.cpp">is_member_pointer</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_rtti_std_is_const.cpp">is_const</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_rtti_std_is_volatile.cpp">is_volatile</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_rtti_std_is_trivial.cpp">is_trivial</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_rtti_std_is_trivially_copyable.cpp">is_trivially_copyable</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_rtti_std_is_standard_layout.cpp">is_standard_layout</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_rtti_std_is_literal_type.cpp">is_literal_type</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_rtti_std_is_empty.cpp">is_empty</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_rtti_std_is_polymorphic.cpp">is_polymorphic</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_rtti_std_is_abstract.cpp">is_abstract</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_rtti_std_is_signed.cpp">is_signed</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_rtti_std_is_unsigned.cpp">is_unsigned</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_rtti_std_is_constructible.cpp">is_constructible</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_rtti_std_is_trivially_constructible.cpp">is_trivially_constructible</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_rtti_std_is_nothrow_constructible.cpp">is_nothrow_constructible</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_rtti_std_is_default_constructible.cpp">is_default_constructible</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_rtti_std_is_trivially_default_constructible.cpp">is_trivially_default_constructible</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_rtti_std_is_nothrow_default_constructible.cpp">is_nothrow_default_constructible</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_rtti_std_is_copy_constructible.cpp">is_copy_constructible</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_rtti_std_is_trivially_copy_constructible.cpp">is_trivially_copy_constructible</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_rtti_std_is_nothrow_copy_constructible.cpp">is_nothrow_copy_constructible</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_rtti_std_is_move_constructible.cpp">is_move_constructible</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_rtti_std_is_trivially_move_constructible.cpp">is_trivially_move_constructible</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_rtti_std_is_nothrow_move_constructible.cpp">is_nothrow_move_constructible</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_rtti_std_is_assignable.cpp">is_assignable</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_rtti_std_is_trivially_assignable.cpp">is_trivially_assignable</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_rtti_std_is_nothrow_assignable.cpp">is_nothrow_assignable</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_rtti_std_is_copy_assignable.cpp">is_copy_assignable</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_rtti_std_is_trivially_copy_assignable.cpp">is_trivially_copy_assignable</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_rtti_std_is_nothrow_copy_assignable.cpp">is_nothrow_copy_assignable</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_rtti_std_is_is_move_assignable.cpp">is_move_assignable</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_rtti_std_is_trivially_move_assignable.cpp">is_trivially_move_assignable</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_rtti_std_is_nothrow_move_assignable.cpp">is_nothrow_move_assignable</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_rtti_std_is_destructible.cpp">is_destructible</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_rtti_std_is_trivially_destructible.cpp">is_trivially_destructible</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_rtti_std_is_nothrow_destructible.cpp">is_nothrow_destructible</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_rtti_std_has_virtual_destructor.cpp">has_virtual_destructor</a>

<h3 id="cpp_11_stl">STL容器</h3>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_stl_std_array.cpp">std::array</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_stl_std_forward_list.cpp">std::forward_list</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_stl_std_begin.cpp">std::begin</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_stl_std_end.cpp">std::end</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_stl_std_move.cpp">std::move</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_stl_container_init.cpp">容器初始化</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_stl_emplace.cpp">emplace</a>

<h5 id="cpp_11_unordered_containers">无序容器</h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_stl_std_unordered_map.cpp">std::unordered_map</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_stl_std_unordered_multimap.cpp">std::unordered_multimap</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_stl_std_unordered_set.cpp">std::unordered_set</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_stl_std_unordered_multiset.cpp">std::unordered_multiset</a>

<h5 id="cpp_11_tuple">元组std::tuple</h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_stl_std_make_tuple.cpp">std::make_tuple</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_stl_std_get.cpp">std::get</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_stl_std_tie.cpp">std::tie</a>

<h5 id="cpp_11_hash">hash</h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_stl_std_hash_std_string.cpp">std::hash<std::string></a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_stl_std_hash_std_u16string.cpp">std::hash<std::u16string></a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_stl_std_hash_std_u32string.cpp">std::hash<std::u32string></a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_stl_std_hash_std_wstring.cpp">std::hash<std::wstring></a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_stl_std_hash_std_error_code.cpp">std::hash<std::error_code></a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_stl_std_hash_std_bitset.cpp">std::hash<std::bitset></a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_stl_std_hash_std_type_index.cpp">std::hash<std::type_index></a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_stl_std_hash_std_vector_bool.cpp">std::hash<std::vector<bool>></a>
<!-- * <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_stl_hash_std_thread_id.cpp">std::hash&lt;std&#58;&#58;thread&#58;&#58;id&gt;</a> -->

<h3 id="cpp_11_smart_pointer">智能指针</h3>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_stl_std_shared_ptr.cpp">std::shared_ptr</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_stl_std_weak_ptr.cpp">std::weak_ptr</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_stl_std_unique_ptr.cpp">std::unique_ptr</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_stl_auto_ptr.cpp">auto_ptr(弃用)</a>

<h3 id="cpp_11_regex">正则表达式</h3>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_stl_std_shared_ptr.cpp">basic_regex</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_stl_std_weak_ptr.cpp">sub_match</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_stl_std_unique_ptr.cpp">match_results</a>

<h3 id="cpp_11_function">函数</h3>

<h5 id="cpp_11_function_nonstatic">非静态成员函数</h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_stl_std_shared_ptr.cpp">cv限定函数</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_stl_std_weak_ptr.cpp">引用限定</a>

<h5 id="cpp_11_function_template">函数对象模板</h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_stl_std_unique_ptr.cpp">std::function</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_stl_std_unique_ptr.cpp">std::bind</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_stl_std_unique_ptr.cpp">std::bad_function_call</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_stl_std_unique_ptr.cpp">mem_fn</a>

<h3 id="cpp_11_class"></h3>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_class_type_alias.cpp">类型别名</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_class_member_init.cpp">类成员初始化</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_class_functor.cpp">仿函数(functor)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_class_delegating_constructors.cpp">委托构造函数</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_class_inheritance_constructor.cpp">继承构造函数</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_class_move_constructor.cpp">移动构造函数</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_class_move_assignment_operator.cpp">移动赋值运算符</a>

<h3 id="cpp_11_template">模板</h3>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_template_angle_bracket.cpp">尖括号“>”</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_template_aliases.cpp">别名模板</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_template_external_template.cpp">外部模板</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_template_variable_parameter_template.cpp">可变参数模板</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_template_default_template_parameters.cpp">默认模板参数</a>

<h3 id="cpp_11_template">原子操作</h3>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_std_atomic_bool.cpp">std::atomic<bool></a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_std_atomic_char.cpp">std::atomic<char></a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_std_atomic_signed_char.cpp">std::atomic<signed char></a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_std_atomic_unsigned_char.cpp">std::atomic<unsigned char></a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_std_atomic_short.cpp">std::atomic<short></a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_std_atomic_unsigned_short.cpp">std::atomic<unsigned short></a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_std_atomic_int.cpp">std::atomic<int></a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_std_atomic_unsigned_int.cpp">std::atomic<unsigned int></a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_std_atomic_long.cpp">std::atomic<long></a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_std_atomic_unsigned_long.cpp">std::atomic<unsigned long></a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_std_atomic_long_long.cpp">std::atomic<long long></a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_std_atomic_unsigned_long_long.cpp">std::atomic<unsigned long long></a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_std_atomic_char8_t.cpp">std::atomic<char8_t></a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_std_atomic_char16_t.cpp">std::atomic<char16_t></a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_std_atomic_char32_t.cpp">std::atomic<char32_t></a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_std_atomic_wchar_t.cpp">std::atomic<wchar_t></a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_std_atomic_std_int8_t.cpp">std::atomic<std::int8_t></a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_std_atomic_std_uint8_t.cpp">std::atomic<std::uint8_t></a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_std_atomic_std_int16_t.cpp">std::atomic<std::int16_t></a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_std_atomic_std_uint16_t.cpp">std::atomic<std::uint16_t></a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_std_atomic_std_int32_t.cpp">std::atomic<std::int32_t></a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_std_atomic_std_uint32_t.cpp">std::atomic<std::uint32_t></a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_std_atomic_std_int64_t.cpp">std::atomic<std::int64_t></a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_std_atomic_std_uint64_t.cpp">std::atomic<std::uint64_t></a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_std_atomic_std_int_least8_t.cpp">std::atomic<std::int_least8_t></a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_std_atomic_std_uint_least8_t.cpp">std::atomic<std::uint_least8_t></a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_std_atomic_std_int_least16_t.cpp">std::atomic<std::int_least16_t></a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_std_atomic_std_uint_least16_t.cpp">std::atomic<std::uint_least16_t></a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_std_atomic_std_int_least32_t.cpp">std::atomic<std::int_least32_t></a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_std_atomic_std_uint_least32_t.cpp">std::atomic<std::uint_least32_t></a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_std_atomic_std_int_least64_t.cpp">std::atomic<std::int_least64_t></a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_std_atomic_std_uint_least64_t.cpp">std::atomic<std::uint_least64_t></a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_std_atomic_std_int_fast8_t.cpp">std::atomic<std::int_fast8_t></a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_std_atomic_std_uint_fast8_t.cpp">std::atomic<std::uint_fast8_t></a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_std_atomic_std_int_fast16_t.cpp">std::atomic<std::int_fast16_t></a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_std_atomic_std_uint_fast16_t.cpp">std::atomic<std::uint_fast16_t></a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_std_atomic_std_int_fast32_t.cpp">std::atomic<std::int_fast32_t></a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_std_atomic_std_uint_fast32_t.cpp">std::atomic<std::uint_fast32_t></a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_std_atomic_std_int_fast64_t.cpp">std::atomic<std::int_fast64_t></a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_std_atomic_std_uint_fast64_t.cpp">std::atomic<std::uint_fast64_t></a>
<!-- * <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_std_atomic_std_intptr_t.cpp">std::atomic&lt;std::intptr_t&gt;</a> * <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_std_atomic_std_uintptr_t.cpp">std::atomic&lt;std::uintptr_t&gt;</a> * <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_std_atomic_std_size_t.cpp">std::atomic&lt;std::size_t&gt;</a> * <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_std_atomic_std_ptrdiff_t.cpp">std::atomic&lt;std::ptrdiff_t&gt;</a> * <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_std_atomic_std_intmax_t.cpp">std::atomic&lt;std::intmax_t&gt;</a> * <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_std_atomic_std_uintmax_t.cpp">std::atomic&lt;std::uintmax_t&gt;</a> -->

<h3 id="cpp_11_template">线程</h3>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_std_thread_std_thread.cpp">std::thread</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_std_thread_std_mutex.cpp">std::mutex</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_std_thread_std_lock.cpp">std::lock</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_std_thread_std_call_once.cpp">std::call_once</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_std_thread_std_atomic.cpp">std::atomic</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_std_thread_std_cond_ition_variable.cpp">std::cond_ition_variable</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_std_thread_async.cpp">std::async</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_std_thread_volatile.cpp">volatile</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_std_thread_std_future.cpp">std::future</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_std_thread_std_thread_local.cpp">std::thread_local</a>

<h3 id="cpp_11_exception">异常</h3>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_exception_std_exception_ptr.cpp">std::exception_ptr</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_exception_std_make_exception_ptr.cpp">std::make_exception_ptr</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_exception_std_current_exception.cpp">std::current_exception</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_exception_std_rethrow_exception.cpp">std::rethrow_exception</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_exception_std_nested_exception.cpp">std::nested_exception</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_exception_std_throw_with_nested.cpp">std::throw_with_nested</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_exception_std_rethrow_if_nested.cpp">std::rethrow_if_nested</a>
<!-- * <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_exception_std_noexcept.cpp">std::noexcept</a> * <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_exception_std_terminate_handler.cpp">std::terminate_handler</a> -->

<h3 id="cpp_11_error">错误</h3>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_error_std_error_category.cpp">std::error_category</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_error_std_generic_category.cpp">std::generic_category</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_error_std_error_condition.cpp">std::error_condition</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_error_std_errc.cpp">std::errc</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_error_std_error_code.cpp">std::error_code</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/003_error_std_system_error.cpp">std::system_error</a>

<h3 id="cpp_11_keywords">新语法</h3>

<h5 id="cpp_11_new_pretreatment">预处理</h5>

  • <p>语法:__pragma(字符串字面量)</p>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/002_grammar_pragma.cpp">_Pragma运算符</a>

<h5 id="cpp_11_cplusplus_macro">C++宏(cplusplus macro)</h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/002_grammar_cpluscplus.h">_cplusplus宏</a>

<h5 id="cpp_11_for">基于范围的for语句</h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/002_grammar_for_loop.cpp">for循环 for(x:range)</a>

<h5 id="cpp_11_alignment_support">对齐支持(alignment support)</h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/002_grammar_alignof.cpp">alignof</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/002_grammar_alignas.cpp">alignas</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/002_grammar_alignment_of.cpp">std::alignment_of</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/002_grammar_aligned_storage.cpp">std::aligned_storage</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/002_grammar_max_align_t.cpp">std::max_align_t</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/002_grammar_align.cpp">std::align</a>

<h5 id="cpp_11_explicit_conversion_operators">显式转换操作符(explicit conversion operators)</h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/002_grammar_explicit.cpp">explicit关键字</a>

<h5 id="cpp_11_static_assert">静态断言(static assert)</h5>

  • <p>语法:static_assert(常量表达式,"提示字符串")</p>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/002_grammar_static_assert.cpp">static assert</a>

<h5 id="cpp_11_numeric_limits">数字限制(numeric limits)</h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/002_grammar_numeric_limits.cpp">数字限制</a>

<h5 id="cpp_11_raw_string">原始字符串(raw string)</h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/002_grammar_raw_string.cpp">原始字符串</a>

<h5 id="cpp_11_trailing_return_type_syntax">追踪返回类型语法(trailing return type syntax)</h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/002_grammar_trailing_return_type_syntax.cpp">追踪返回类型语法</a>

<h5 id="cpp_11_extended_friend_syntax">扩展的friend语法(extended friend syntax)</h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/002_grammar_extended_friend_syntax.cpp">扩展的friend语法</a>

<h5 id="cpp_11_extended_integer_types">扩展的整型(extended integer types)</h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/002_grammar_extended_integer_types.cpp">扩展的整型</a>

<h5 id="cpp_11_unrestricted_union">非受限联合体(unrestricted union)</h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/002_grammar_unrestricted_union.cpp">非受限联合体</a>

<h5 id="cpp_11_lnline_namespace">内联名字空间(lnline namespace)</h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/002_grammar_lnline.cpp">内联名字空间</a>

<h5 id="cpp_11_user_defined_literals">用户定义的字面量(user-defined literals)</h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/002_grammar_user_defined_literals.cpp">用户定义的字面量</a>

<h5 id="cpp_11_enum_class">强类型枚举(scoped and strongly typed enums)</h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/002_grammar_scoped_and_strongly_typed_enums.cpp">强类型枚举</a>

<h5 id="cpp_11_random_device">随机装置(random device)</h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/002_grammar_random_device.cpp">random device</a>

<h5 id="cpp_11_stdref_std_cref">std::ref和std::cref</h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/002_grammar_stdref_stdcref.cpp">std::ref和std::cref</a>

<h5 id="cpp_11_constexpr">常量表达式(constexpr)</h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/002_grammar_constexpr.cpp">constexpr</a>

<h5 id="cpp_11_lamda">lamda表达式</h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/002_grammar_lamda.cpp">lamda表达式</a>

<h5 id="cpp_11_nullptr">指针空值(nullptr)</h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/002_grammar_nullptr.cpp">nullptr</a>

<h5 id="cpp_11_preventing_narrowing">防止类型收窄(Preventing narrowing)</h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/002_grammar_preventing_narrowing.cpp">防止类型收窄</a>

<h5 id="cpp_11_initializer_lists">初始化列表(initializer lists)</h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/002_grammar_initializer_lists01.cpp">初始化列表——Initializer List</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/002_grammar_initializer_lists02.cpp">initializer_list<T>(作入参)</a>

<h5 id="cpp_11_Uniform_initialization_syntax_and_semantics">统一的初始化语法和语义(Uniform initialization syntax and semantics)</h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/002_grammar_Uniform_initialization_syntax_and_semantics.cpp">统一的初始化语法和语义</a>

<h5 id="cpp_11_POD">POD(plain old data)</h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/002_grammar_POD.cpp">POD</a>

<h5 id="cpp_11_POD">long long整型</h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/002_grammar_long_long.cpp">long long</a>

<h5 id="cpp_11_move_semantics">移动语义(move semantics)</h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/002_grammar_move_semantics.cpp">move semantics</a>

<h5 id="cpp_11_rvalue_reference">右值引用(rvalue reference)</h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/002_grammar_rvalue_reference.cpp">rvalue reference</a>

<h5 id="cpp_11_c99">c99特性(c99)</h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/002_grammar_c99.cpp">c99特性</a>

<h5 id="cpp_11_SFINAE">一般化的SFINAE规则(generalized SFINAE rules)</h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_11/002_grammar_SFINAE.cpp">generalized SFINAE rules</a>

<div id="cpp_14" align=center> </div>

<h3 id="cpp_14_RTTI">类型支持(基本类型、RTTI、类型特性)</h3>

<h5 id="cpp_headfile_type_traits">Defined in header<type_traits></h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_14/001_type_traits_is_null_pointer.cpp">检查类型是否为 std::nullptr_t</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_14/001_type_traits_is_final.cpp">is_final(检查类型是否为 final 类类型)</a>

<h5 id="cpp_headfile_utility">Defined in header<utility></h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_14/001_utility_exchange.cpp">exchange(将实参替换为一个新值,并返回其先前值)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_14/001_utility_integer_sequence.cpp">integer_sequence(实现编译时整数数列)</a>

<h5 id="cpp_headfile_initializer_list">Defined in header<initializer_list></h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_14/001_initializer_list_rbegin.cpp">rbegin(返回指向一个容器或数组的逆向迭代器)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_14/001_initializer_list_crbegin.cpp">crbegin(返回指向一个容器或数组的逆向迭代器)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_14/001_initializer_list_rend.cpp">rend(返回容器或数组的逆向尾迭代器)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_14/001_initializer_list_crend.cpp">crend(返回容器或数组的逆向尾迭代器)</a>

<h5 id="cpp_headfile_initializer_list">Defined in header<iterator></h5>

<h5 id="cpp_headfile_initializer_list">Defined in namespace std</h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_14/001_iterator_make_reverse_iterator.cpp">make_reverse_iterator(创建拥有从实参推出的类型的 std::reverse_iterator)</a>

<h5 id="cpp_headfile_initializer_list">Defined in header <array></h5>

<h5 id="cpp_headfile_initializer_list">Defined in header <deque></h5>

<h5 id="cpp_headfile_initializer_list">Defined in header <forward_list></h5>

<h5 id="cpp_headfile_initializer_list">Defined in header <iterator></h5>

<h5 id="cpp_headfile_initializer_list">Defined in header <list></h5>

<h5 id="cpp_headfile_initializer_list">Defined in header <map></h5>

<h5 id="cpp_headfile_initializer_list">Defined in header <regex></h5>

<h5 id="cpp_headfile_initializer_list">Defined in header <set></h5>

<h5 id="cpp_headfile_initializer_list">Defined in header <span></h5>

<h5 id="cpp_headfile_initializer_list">Defined in header <string></h5>

<h5 id="cpp_headfile_initializer_list">Defined in header <string_view></h5>

<h5 id="cpp_headfile_initializer_list">Defined in header <unordered_map></h5>

<h5 id="cpp_headfile_initializer_list">Defined in header <unordered_set></h5>

<h5 id="cpp_headfile_initializer_list">Defined in header <vector></h5>

<h5 id="cpp_headfile_initializer_list">Defined in namespace std</h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_14/001_stl_begin.cpp">begin(返回指向容器或数组起始的迭代器)</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_14/001_stl_cbegin.cpp">cbegin(返回指向容器或数组起始的迭代器)</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_14/001_stl_end.cpp">end(返回指向容器或数组结尾的迭代器)</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_14/001_stl_cend.cpp">cend(返回指向容器或数组结尾的迭代器)</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_14/001_stl_rbegin.cpp">rbegin(返回指向一个容器或数组的逆向迭代器)</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_14/001_stl_crbegin.cpp">crbegin(返回指向一个容器或数组的逆向迭代器)</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_14/001_stl_rend.cpp">rend(返回容器或数组的逆向尾迭代器)</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_14/001_stl_crend.cpp">crend(返回容器或数组的逆向尾迭代器)</a>

<!-- * [函数返回值类型推导](https://github.com/0voice/cpp_new_features/blob/main/cpp_14/README.md#cpp_14_01) * [lambda参数auto](https://github.com/0voice/cpp_new_features/blob/main/cpp_14/README.md#cpp_14_02) * [变量模板](https://github.com/0voice/cpp_new_features/blob/main/cpp_14/README.md#cpp_14_03) * [别名模板](https://github.com/0voice/cpp_new_features/blob/main/cpp_14/README.md#cpp_14_04) * [[[deprecated]]标记](https://github.com/0voice/cpp_new_features/blob/main/cpp_14/README.md#cpp_14_05) * [二进制字面量与整形字面量分隔符](https://github.com/0voice/cpp_new_features/blob/main/cpp_14/README.md#cpp_14_06) * [std::make_unique](https://github.com/0voice/cpp_new_features/blob/main/cpp_14/README.md#cpp_14_07) * [std::shared_timed_mutex与std::shared_lock](https://github.com/0voice/cpp_new_features/blob/main/cpp_14/README.md#cpp_14_08) * [std::integer_sequence](https://github.com/0voice/cpp_new_features/blob/main/cpp_14/README.md#cpp_14_09) * [std::exchange](https://github.com/0voice/cpp_new_features/blob/main/cpp_14/README.md#cpp_14_10) * [std::quoted](https://github.com/0voice/cpp_new_features/blob/main/cpp_14/README.md#cpp_14_11) -->
<div id="cpp_17" align=center> </div>

<h3 id="cpp_17_keywords">关键字</h3>

<h5 id="cpp_17_meaning_changed__OR__new_meaning_added">含义变化或者新增含义关键字(meaning changed or new meaning added)</h5>

<h3 id="cpp_17_RTTI">类型支持(基本类型、RTTI、类型特性)</h3>

<h5 id="cpp_headfile_type_traits">Defined in header<type_traits></h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_17/002_type_traits_byte.cpp">byte(字节类型)</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_17/002_type_traits_is_aggregate.cpp">is_aggregate(检查类型是否聚合类型)</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_17/002_type_traits_is_swappable_with.cpp">is_swappable_with(检查一个类型的对象是否能与同类型或不同类型的对象交换)</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_17/002_type_traits_is_swappable.cpp">is_swappable(检查一个类型的对象是否能与同类型或不同类型的对象交换)</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_17/002_type_traits_is_nothrow_swappable_with.cpp">is_nothrow_swappable_with(检查一个类型的对象是否能与同类型或不同类型的对象交换)</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_17/002_type_traits_is_nothrow_swappable.cpp">is_nothrow_swappable(检查一个类型的对象是否能与同类型或不同类型的对象交换)</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_17/002_type_traits_is_invocable.cpp">is_invocable(检查类型能否以给定的实参类型调用(如同以 std::invoke))</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_17/002_type_traits_is_invocable_r.cpp">is_invocable_r(检查类型能否以给定的实参类型调用(如同以 std::invoke))</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_17/002_type_traits_is_nothrow_invocable.cpp">is_nothrow_invocable(检查类型能否以给定的实参类型调用(如同以 std::invoke))</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_17/002_type_traits_is_nothrow_invocable_r.cpp">is_nothrow_invocable_r(检查类型能否以给定的实参类型调用(如同以 std::invoke))</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_17/002_type_traits_invoke_result.cpp">invoke_result(推导以一组实参调用一个可调用对象的结果类型)</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_17/002_type_traits_void_t.cpp">void_t(变参别名模板)</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_17/002_type_traits_conjunction.cpp">conjunction(变参的逻辑与元函数)</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_17/002_type_traits_disjunction.cpp">disjunction(变参的逻辑或元函数)</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_17/002_type_traits_ndisjunctionegation.cpp">ndisjunctionegation(逻辑非元函数)</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_17/002_type_traits_integral_constant.cpp">integral_constant(具有指定值的指定类型的编译期常量)</a>

<h5 id="cpp_headfile_utility">Defined in header<utility></h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_17/003_utility_as_const.cpp">as_const(获得到其实参的 const 引用)</a>
<!-- * <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_17/003_utility_in_place.cpp">in_place(原位构造标签)</a> * <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_17/003_utility_in_place_type.cpp">in_place_type(原位构造标签)</a> * <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_17/003_utility_in_place_index.cpp">in_place_index(原位构造标签)</a> * <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_17/003_utility_in_place_t.cpp">in_place_t(原位构造标签)</a> * <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_17/003_utility_in_place_type_t.cpp">in_place_type_t(原位构造标签)</a> * <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_17/003_utility_in_place_index_t.cpp">in_place_index_t(原位构造标签)</a> -->

<h5 id="cpp_headfile_tuple">Defined in header<tuple></h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_17/004_tuple_apply.cpp">apply(以一个实参的元组来调用函数)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_17/004_tuple_make_from_tuple.cpp">make_from_tuple(以一个实参元组构造对象)</a>

<h5 id="cpp_headfile_optional">Defined in header<optional></h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_17/005_optional_optional.cpp">optional(可能或可能不保有一个对象的包装器)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_17/005_optional_make_optional.cpp">make_optional(创建一个 optional 对象)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_17/005_optional_std_swap.cpp">std::swap(std::optional)(特化 std::swap 算法)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_17/005_optional_std_hash.cpp">std::hash<std::optional>(特化 std::hash 算法)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_17/005_optional_nullopt_t.cpp">nullopt_t(带未初始化状态的 optional 类型的指示器)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_17/005_optional_bad_optional_access.cpp">bad_optional_access(指示进行了到不含值的 optional 的有检查访问的异常)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_17/005_optional_nullopt.cpp">nullopt(nullopt_t 类型对象)</a>

<h5 id="cpp_headfile_variant">Defined in header<variant></h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_17/006_variant_variant.cpp">variant(类型安全的可辨识联合体)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_17/006_variant_visit.cpp">visit(以一或多个 variant 所保有的各实参调用所提供的函数对象)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_17/006_variant_holds_alternative.cpp">holds_alternative(检查某个 variant 是否当前持有某个给定类型)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_17/006_variant_std_get.cpp">std::get(std::variant)(以给定索引或类型(若类型唯一)读取 variant 的值,错误时抛出异常)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_17/006_variant_get_if.cpp">get_if(以给定索引或类型(若其唯一),获得指向被指向的 variant 的值的指针,错误时返回空指针)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_17/006_variant_std_swap.cpp">std::swap(std::variant)(特化 std::swap 算法)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_17/006_variant_monostate.cpp">monostate(用作非可默认构造类型的 variant 的首个可选项的占位符类型)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_17/006_variant_bad_variant_access.cpp">bad_variant_access(非法地访问 variant 的值时抛出的异常)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_17/006_variant_variant_size.cpp">variant_size(在编译时获得 variant 可选项列表的大小)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_17/006_variant_variant_size_v.cpp">variant_size_v(在编译时获得 variant 可选项列表的大小)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_17/006_variant_variant_alternative.cpp">variant_alternative(在编译时获得以其下标指定的可选项的类型)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_17/006_variant_variant_alternative_t.cpp">variant_alternative_t(在编译时获得以其下标指定的可选项的类型)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_17/006_variant_std_hash.cpp">std::hash<std::variant>(特化 std::hash 算法)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_17/006_variant_variant_npos.cpp">variant_npos(非法状态的 variant 的下标)</a>

<h5 id="cpp_headfile_any">Defined in header<any></h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_17/007_any_any.cpp">any(可保有任何可复制构造 (CopyConstructible) 类型的实例的对象)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_17/007_any_std_swap.cpp">std::swap(std::any)(特化 std::swap 算法)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_17/007_any_any_cast.cpp">any_cast(对被容纳对象的类型安全访问)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_17/007_any_make_any.cpp">make_any(创建 any 对象)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_17/007_any_bad_any_cast.cpp">bad_any_cast(当类型不匹配时按值返回形式的 any_cast 所抛出的异常)</a>

<h5 id="cpp_headfile_charconv">Defined in header<charconv></h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_17/008_charconv_to_chars.cpp">to_chars(转换整数或浮点值到字符序列象)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_17/008_charconv_from_chars.cpp">from_chars(转换字符序列到整数或浮点值)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_17/008_charconv_chars_format.cpp">chars_format(指定 std::to_chars 和 std::from_chars 所用的格式)</a>

<h5 id="cpp_headfile_initializer_list">Defined in header<initializer_list></h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_17/009_initializer_list_empty.cpp">empty(检查容器是否为空)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_17/009_initializer_list_data.cpp">data(获得指向底层数组的指针)</a>

<h3 id="cpp_17_Containers_library">容器库</h3>

<h5 id="cpp_headfile_map">Defined in header<map></h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_17/010_map_insert_or_assign.cpp">insert_or_assign(插入元素,或若键已存在则赋值给当前元素)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_17/010_map_try_emplace.cpp">try_emplace(若键不存在则原位插入,若键存在则不做任何事)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_17/010_map_extract.cpp">extract(从另一容器释出结点)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_17/010_map_merge.cpp">merge(从另一容器接合结点)</a>

<h5 id="cpp_headfile_unordered_map">Defined in header<unordered_map></h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_17/011_unordered_map_insert_or_assign.cpp">insert_or_assign(插入元素,或若键已存在则赋值给当前元素)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_17/011_unordered_map_try_emplace.cpp">try_emplace(若键不存在则原位插入,若键存在则不做任何事)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_17/011_unordered_map_extract.cpp">extract(从另一容器释出结点)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_17/011_unordered_map_merge.cpp">merge(从另一容器接合结点)</a>

<h5 id="cpp_headfile_initializer_list">Defined in header <array></h5>

<h5 id="cpp_headfile_initializer_list">Defined in header <deque></h5>

<h5 id="cpp_headfile_initializer_list">Defined in header <forward_list></h5>

<h5 id="cpp_headfile_initializer_list">Defined in header <iterator></h5>

<h5 id="cpp_headfile_initializer_list">Defined in header <list></h5>

<h5 id="cpp_headfile_initializer_list">Defined in header <map></h5>

<h5 id="cpp_headfile_initializer_list">Defined in header <regex></h5>

<h5 id="cpp_headfile_initializer_list">Defined in header <set></h5>

<h5 id="cpp_headfile_initializer_list">Defined in header <span></h5>

<h5 id="cpp_headfile_initializer_list">Defined in header <string></h5>

<h5 id="cpp_headfile_initializer_list">Defined in header <string_view></h5>

<h5 id="cpp_headfile_initializer_list">Defined in header <unordered_map></h5>

<h5 id="cpp_headfile_initializer_list">Defined in header <unordered_set></h5>

<h5 id="cpp_headfile_initializer_list">Defined in header <vector></h5>

<h5 id="cpp_headfile_initializer_list">Defined in namespace std</h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_17/012_stl_size.cpp">size(返回容器或数组的大小)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_17/012_stl_empty.cpp">empty(检查容器是否为空)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_17/012_stl_data.cpp">data(获得指向底层数组的指针)</a>

<div id="cpp_20" align=center> </div>

<h3 id="cpp_20_keywords">关键字</h3>

<h5 id="cpp_20_new_keywords">新增关键字</h5>

<h5 id="cpp_20_meaning_changed__OR__new_meaning_added">含义变化或者新增含义关键字(meaning changed or new meaning added)</h5>

<h3 id="cpp_20_RTTI">类型支持(基本类型、RTTI、类型特性)</h3>

<h5 id="cpp_headfile_type_traits">Defined in header<type_traits></h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/002_rtti_is_bounded_array.cpp">is_bounded_array(检查类型是否为有已知边界的数组类型)</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/002_rtti_is_unbounded_array.cpp">is_unbounded_array(检查类型是否为有未知边界的数组类型)</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/002_rtti_is_layout_compatible.cpp">is_layout_compatible(检查二个类型是否布局兼容)</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/002_rtti_is_pointer_interconvertible_base_of.cpp">is_pointer_interconvertible_base_of(检查一个类型是否为另一类型的指针可互转换(起始)基类)</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/002_rtti_is_pointer_interconvertible_with_class.cpp">is_pointer_interconvertible_with_class(检查一个类型的对象是否与该类型的指定子对象指针可互转换)</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/002_rtti_is_corresponding_member.cpp">is_corresponding_member(检查二个指定成员是否在二个指定类型中的公共起始序列中彼此对应)</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/002_rtti_is_nothrow_convertible.cpp">is_nothrow_convertible(检查是否能转换一个类型为另一类型)</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/002_rtti_remove_cvref.cpp">remove_cvref(将 std::remove_cv 与 std::remove_reference 结合)</a>

<!-- * <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/002_rtti_common_reference.cpp">common_reference(确定类型组的共用引用类型)</a> * <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/002_rtti_basic_common_reference.cpp">basic_common_reference(确定类型组的共用引用类型)</a> -->
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/002_rtti_type_identity.cpp">type_identity(返回不更改的类型实参)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/002_rtti_is_constant_evaluated.cpp">is_constant_evaluated(检测调用是否在常量求值的语境内发生)</a>

<h3 id="cpp_20_Coroutine">协程支持</h3>

<h5 id="cpp_headfile_coroutine">Defined in header<coroutine></h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/003_rtti_coroutine_traits.cpp">coroutine_traits(用于发现协程承诺类型的特征类型)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/003_rtti_coroutine_handle.cpp">coroutine_handle(用于指代暂停或执行的协程)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/003_rtti_noop_coroutine.cpp">noop_coroutine(创建在等待或销毁时无操作的协程柄)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/003_rtti_noop_coroutine_promise.cpp">noop_coroutine_promise(用于无可观察作用的协程)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/003_rtti_noop_coroutine_handle.cpp">noop_coroutine_handle(std::coroutine_handle<std::noop_coroutine_promise> ,有意用于指代无操作协程)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/003_rtti_suspend_never.cpp">suspend_never(指示 await 表达式应该决不暂停)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/003_rtti_suspend_always.cpp">suspend_always(指示 await 表达式应该始终暂停)</a>

<h3 id="cpp_20_compare">三路比较</h3>

<h5 id="cpp_headfile_compare">Defined in header<compare></h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/004_rtti_compare_std_coroutine_traits.cpp">std::coroutine_traits</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/004_rtti_compare_std_coroutine_handle.cpp">std::coroutine_handle</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/004_rtti_compare_three_way_comparable.cpp">three_way_comparable(指定运算符 <=> 在给定类型上产生一致的结果)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/004_rtti_compare_three_way_comparable_with.cpp">three_way_comparable_with(指定运算符 <=> 在给定类型上产生一致的结果)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/004_rtti_compare_partial_ordering.cpp">partial_ordering(三路比较的结果类型,支持所有 6 种运算符,不可替换,并允许不可比较的值)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/004_rtti_compare_weak_ordering.cpp">weak_ordering(三路比较的结果类型,支持所有 6 种运算符且不可替换)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/004_rtti_compare_strong_ordering.cpp">strong_ordering(三路比较的结果类型,支持所有 6 种运算符且可替换)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/004_rtti_compare_is_eq.cpp">is_eq(具名比较函数)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/004_rtti_compare_is_neq.cpp">is_neq(具名比较函数)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/004_rtti_compare_is_lt.cpp">is_lt(具名比较函数)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/004_rtti_compare_is_lteq.cpp">is_lteq(具名比较函数)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/004_rtti_compare_is_gt.cpp">is_gt(具名比较函数)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/004_rtti_compare_is_gteq.cpp">is_gteq(具名比较函数)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/004_rtti_compare_compare_three_way.cpp">compare_three_way(实现 x <=> y 的函数对象)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/004_rtti_compare_compare_three_way_result.cpp">compare_three_way_result(获得三路比较运算符 <=> 在给定类型上的结果)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/004_rtti_compare_common_comparison_category.cpp">common_comparison_category(给定的全部类型都能转换到的最强比较类别)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/004_rtti_compare_strong_order.cpp">strong_order(进行三路比较并产生 std::strong_ordering 类型结果)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/004_rtti_compare_weak_order.cpp">weak_order(进行三路比较并产生 std::weak_ordering 类型结果)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/004_rtti_compare_partial_order.cpp">partial_order(进行三路比较并产生 std::partial_ordering 类型结果)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/004_rtti_compare_compare_strong_order_fallback.cpp">compare_strong_order_fallback(进行三路比较并产生 std::strong_ordering 类型的结果,即使 operator<=> 不可用)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/004_rtti_compare_compare_weak_order_fallback.cpp">compare_weak_order_fallback(进行三路比较并产生 std::weak_ordering 类型的结果,即使 operator<=> 不可用)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/004_rtti_compare_compare_partial_order_fallback.cpp">compare_partial_order_fallback(进行三路比较并产生 std::partial_ordering 类型的结果,即使 operator<=> 不可用</a>

<h5 id="cpp_headfile_concepts">Defined in header<concepts></h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/005_rtti_concepts_ranges_swap.cpp">ranges::swap(交换两个对象的值)</a>

<h5 id="cpp_headfile_utility">Defined in header<utility></h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/006_utility_cmp_equal.cpp">cmp_equal(比较二个整数值,而无转换所致的值更改)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/006_utility_cmp_not_equal.cpp">cmp_not_equal(比较二个整数值,而无转换所致的值更改)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/006_utility_cmp_less.cpp">cmp_less(比较二个整数值,而无转换所致的值更改)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/006_utility_cmp_less_equal.cpp">cmp_less_equal(比较二个整数值,而无转换所致的值更改)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/006_utility_cmp_greater_equal.cpp">cmp_greater_equal(比较二个整数值,而无转换所致的值更改)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/006_utility_in_range.cpp">in_range(检查整数值是否在给定整数类型的范围内)</a>
<!-- ### <h5 id="cpp_headfile_format">Defined in header&lt;format&gt;</h5> * <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/007_format_format.cpp">format(在新 string 中存储参数的格式化表示)</a> * <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/007_format_format_to.cpp">format_to(通过输出迭代器写其参数的格式化表示)</a> * <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/007_format_format_to_n.cpp">format_to_n(通过输出迭代器写其参数的格式化表示,不超出指定的大小)</a> * <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/007_format_formatted_size.cpp">formatted_size(确定存储其参数的格式化表示所需的字符数)</a> * <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/007_format_vformat.cpp">vformat(std::format 的使用类型擦除的参数表示的非模板变体)</a> * <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/007_format_vformat_to.cpp">vformat_to(std::format_to 的使用类型擦除的参数表示的非模板变体)</a> * <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/007_format_formatter.cpp">formatter(定义给定类型的格式化规则的类模板)</a> * <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/007_format_format_error.cpp">format_error(格式化错误时抛出的异常类型)</a> * <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/007_format_basic_format_arg.cpp">basic_format_arg(提供对用户定义格式化器的格式化参数的访问的类模板)</a> * <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/007_format_basic_format_parse_context.cpp">basic_format_parse_context(格式化字符串分析器状态)</a> * <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/007_format_format_parse_context.cpp">format_parse_context(格式化字符串分析器状态)</a> * <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/007_format_wformat_parse_context.cpp">wformat_parse_context(格式化字符串分析器状态)</a> * <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/007_format_basic_format_context.cpp">basic_format_context(格式化状态,包括所有格式化参数和输出迭代器)</a> * <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/007_format_format_context.cpp">format_context(格式化状态,包括所有格式化参数和输出迭代器)</a> * <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/007_format_wformat_context.cpp">wformat_context(格式化状态,包括所有格式化参数和输出迭代器)</a> * <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/007_format_visit_format_arg.cpp">visit_format_arg(用户定义格式化器的参数观览接口)</a> * <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/007_format_make_format_args.cpp">make_format_args(创建引用所有格式化参数的类型擦除对象,可转换到 format_args)</a> * <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/007_format_make_wformat_args.cpp">make_wformat_args(创建引用所有格式化参数的类型擦除对象,可转换到 format_args)</a> * <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/007_format_basic_format_args.cpp">basic_format_args(提供对所有格式化参数的访问的类)</a> * <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/007_format_format_args.cpp">format_args(提供对所有格式化参数的访问的类)</a> * <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/007_format_wformat_args.cpp">wformat_args(提供对所有格式化参数的访问的类)</a> -->

<h5 id="cpp_headfile_memory">Defined in header<memory></h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/008_memory_uninitialized_move.cpp">uninitialized_move(移动一个范围的对象到未初始化的内存区域)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/008_memory_uninitialized_move_n.cpp">uninitialized_move_n(移动一定数量对象到未初始化内存区域)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/008_memory_uninitialized_default_construct.cpp">uninitialized_default_construct(在范围所定义的未初始化的内存区域以默认初始化构造对象)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/008_memory_uninitialized_default_construct_n.cpp">uninitialized_default_construct_n(在起始和计数所定义的未初始化内存区域用默认初始化构造对象)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/008_memory_uninitialized_value_construct.cpp">uninitialized_value_construct(在范围所定义的未初始化内存中用值初始化构造对象)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/008_memory_uninitialized_value_construct_n.cpp">uninitialized_value_construct_n(在起始和计数所定义的未初始化内存区域以值初始化构造对象)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/008_memory_destroy_at.cpp">destroy_at(销毁在给定地址的对象)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/008_memory_destroy.cpp">destroy(销毁一个范围中的对象)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/008_memory_destroy_n.cpp">destroy_n(销毁范围中一定数量的对象)</a>
<!-- ### <h5 id="cpp_headfile_concepts">Defined in header&lt;memory_resource&gt;</h5> * <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/009_memory_resource_polymorphic_allocator.cpp">polymorphic_allocator(以 std::memory_resource 构造,支持基于它的运行时多态的分配器)</a> * <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/009_memory_resource_memory_resource.cpp">memory_resource(一个抽象接口,用于各种封装内存资源的类)</a> * <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/009_memory_resource_new_delete_resource.cpp">new_delete_resource(返回一个静态的程序范围 std::pmr::memory_resource,它使用全局 operator new 与 operator delete 分配和解分配内存</a> * <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/009_memory_resource_null_memory_resource.cpp">null_memory_resource(返回一个不进行任何分配的静态 std::pmr::memory_resource)</a> * <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/009_memory_resource_get_default_resource.cpp">get_default_resource(获取缺省 std::pmr::memory_resource)</a> * <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/009_memory_resource_set_default_resource.cpp">set_default_resource(设置缺省 std::pmr::memory_resource)</a> * <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/009_memory_resource_pool_options.cpp">pool_options(一组池资源的构造函数选项)</a> * <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/009_memory_resource_synchronized_pool_resource.cpp">synchronized_pool_resource(线程安全的 std::pmr::memory_resource,用于管理具有不同块大小的池中的分配)</a> * <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/009_memory_resource_unsynchronized_pool_resource.cpp">unsynchronized_pool_resource(线程不安全的 std::pmr::memory_resource,用于管理具有不同块大小的池中的分配)</a> * <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/009_memory_resource_monotonic_buffer_resource.cpp">monotonic_buffer_resource(一种特殊用途的 std::pmr::memory_resource,仅在资源被销毁时才释放所分配内存)</a> -->

<h3 id="cpp_20_compare">Concepts library(概念库)</h3>

<h5 id="cpp_headfile_concepts">Defined in header<concepts></h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/010_concepts_same_as.cpp">same_as(指定一个类型与另一类型相同)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/010_concepts_derived_from.cpp">derived_from(指定一个类型派生自另一类型)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/010_concepts_convertible_to.cpp">convertible_to(指定一个类型能隐式转换成另一类型)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/010_concepts_common_reference_with.cpp">common_reference_with(指定两个类型共有一个公共引用类型)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/010_concepts_common_with.cpp">common_with(指定两个类型共有一个公共类型)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/010_concepts_integral.cpp">integral(指定类型为整型类型)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/010_concepts_signed_integral.cpp">signed_integral(指定类型为有符号的整型类型)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/010_concepts_unsigned_integral.cpp">unsigned_integral(指定类型为无符号的整型类型)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/010_concepts_floating_point.cpp">floating_point(指定类型为浮点类型)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/010_concepts_assignable_from.cpp">assignable_from(指定一个类型能从另一类型赋值)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/010_concepts_swappable.cpp">swappable(指定一个类型能进行交换,或两个类型能彼此交换)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/010_concepts_swappable_with.cpp">swappable_with(指定一个类型能进行交换,或两个类型能彼此交换)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/010_concepts_destructible.cpp">destructible(指定能销毁该类型的对象)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/010_concepts_constructible_from.cpp">constructible_from(指定该类型的变量能从一组实参类型进行构造,或绑定到一组实参类型)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/010_concepts_default_initializable.cpp">default_initializable(指定能默认构造一个类型的对象)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/010_concepts_move_constructible.cpp">move_constructible(指定能移动构造一个类型的对象)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/010_concepts_copy_constructible.cpp">copy_constructible(指定能复制构造和移动构造一个类型的对象)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/010_concepts_boolean_testable.cpp">boolean-testable(指定能用于布尔语境的类型)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/010_concepts_equality_comparable.cpp">equality_comparable(指定运算符 == 为等价关系)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/010_concepts_equality_comparable_with.cpp">equality_comparable_with(指定运算符 == 为等价关系)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/010_concepts_totally_ordered.cpp">totally_ordered(指定比较运算符在该类型上产生全序)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/010_concepts_totally_ordered_with.cpp">totally_ordered_with(指定比较运算符在该类型上产生全序)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/010_concepts_movable.cpp">movable(指定能移动及交换一个类型的对象)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/010_concepts_copyable.cpp">copyable(指定能复制、移动及交换一个类型的对象)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/010_concepts_semiregular.cpp">semiregular(指定能赋值、移动、交换及默认构造一个类型的对象)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/010_concepts_regular.cpp">regular(指定类型为正则,即它既为 semiregular 亦为 equality_comparable)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/010_concepts_invocable.cpp">invocable(指定能以给定的一组实参类型调用的可调用类型)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/010_concepts_regular_invocable.cpp">regular_invocable(指定能以给定的一组实参类型调用的可调用类型)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/010_concepts_predicate.cpp">predicate(指定可调用类型为布尔谓词)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/010_concepts_relation.cpp">relation(指定可调用类型为二元关系)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/010_concepts_equivalence_relation.cpp">equivalence_relation(指定 relation 施加等价关系)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/010_concepts_strict_weak_order.cpp">strict_weak_order(指定一个 relation 所强加的是严格弱序)</a>

<h3 id="cpp_20_memory">动态内存管理</h3>

<h5 id="cpp_headfile_memory">Defined in header<memory></h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/011_memory_uses_allocator_construction_args.cpp">uses_allocator_construction_args(准备匹配给定类型所要求的使用分配器构造的口味的参数列表)</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/011_memory_make_obj_using_allocator.cpp">make_obj_using_allocator(以使用分配器构造的手段创建给类型的对象)</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/011_memory_uninitialized_construct_using_allocator.cpp">uninitialized_construct_using_allocator(以使用分配器构造的手段在指定的内存位置创建给定类型的对象)</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/011_memory_construct_at.cpp">construct_at(在给定地址创建对象)</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/011_memory_no-throw-input-iterator.cpp">no-throw-input-iterator(指定迭代器、哨位和范围上的某些操作不抛出)</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/011_memory_no-throw-forward-iterator.cpp">no-throw-forward-iterator(指定迭代器、哨位和范围上的某些操作不抛出)</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/011_memory_no-throw-sentinel-for.cpp">no-throw-sentinel-for(指定迭代器、哨位和范围上的某些操作不抛出)</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/011_memory_no-throw-input-range.cpp">no-throw-input-range(指定迭代器、哨位和范围上的某些操作不抛出)</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/011_memory_no-throw-forward-range.cpp">no-throw-forward-range(指定迭代器、哨位和范围上的某些操作不抛出)</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/011_memory_ranges_uninitialized_copy.cpp">ranges::uninitialized_copy(复制元素范围到未初始化的内存区域)</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/011_memory_ranges_uninitialized_copy_n.cpp">ranges::uninitialized_copy_n(复制一定量元素到未初始化的内存区域)</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/011_memory_ranges_uninitialized_fill.cpp">ranges::uninitialized_fill(复制一个对象到范围所定义的未初始化的内存区域)</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/011_memory_ranges_uninitialized_fill_n.cpp">ranges::uninitialized_fill_n(复制一个对象到起始与计数所定义的未初始化的内存区域)</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/011_memory_ranges_uninitialized_move.cpp">ranges::uninitialized_move(移动对象范围到未初始化的内存区域)</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/011_memory_ranges_uninitialized_move_n.cpp">ranges::uninitialized_move_n(移动一定量对象到未初始化的内存区域)</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/011_memory_ranges_uninitialized_default_construct.cpp">ranges::uninitialized_default_construct(在范围所定义的未初始化的内存区域以默认初始化构造对象)</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/011_memory_ranges_uninitialized_default_construct_n.cpp">ranges::uninitialized_default_construct_n(在起始与计数所定义的未初始化的内存区域以默认初始化构造对象)</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/011_memory_ranges_uninitialized_value_construct.cpp">ranges::uninitialized_value_construct(在范围所定义的未初始化的内存区域以值初始化构造对象)</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/011_memory_ranges_uninitialized_value_construct_n.cpp">ranges::uninitialized_value_construct_n(在起始与计数所定义的未初始化的内存区域以值初始化构造对象)</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/011_memory_ranges_destroy_at.cpp">ranges::destroy_at(销毁位于给定地址的元素)</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/011_memory_ranges_destroy.cpp">ranges::destroy(销毁范围中的元素)</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/011_memory_ranges_destroy_n.cpp">ranges::destroy_n(销毁范围中一定量的元素)</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/011_memory_ranges_construct_at.cpp">ranges::construct_at(在给定地址创建对象)</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/011_memory_to_address.cpp">to_address(从指针式类型获得裸指针)</a>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/011_memory_assume_aligned.cpp">assume_aligned(告知编译器指针已对齐)</a>

<h3 id="cpp_20_memory">日期和时间工具</h3>

<h5 id="cpp_headfile_chrono">Defined in header<chrono></h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/012_chrono_is_clock.cpp">is_clock(确定类型是否为时钟 (Clock))</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/012_chrono_is_clock_v.cpp">is_clock_v(确定类型是否为时钟 (Clock))</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/012_chrono_utc_clock.cpp">utc_clock(协调世界时 (UTC) 的时钟 (Clock))</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/012_chrono_tai_clock.cpp">tai_clock(国际原子时 (TAI) 的时钟 (Clock))</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/012_chrono_gps_clock.cpp">gps_clock(GPS 时间的时钟 (Clock))</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/012_chrono_file_clock.cpp">file_clock(用于文件时间的时钟 (Clock))</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/012_chrono_local_t.cpp">local_t(表示本地时间的伪时钟)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/012_chrono_clock_time_conversion.cpp">clock_time_conversion(定义如何转换一个时钟的时间点为另一个的特性类)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/012_chrono_clock_cast.cpp">clock_cast(转换一个时钟的时间点为另一个)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/012_chrono_time_of_day.cpp">time_of_day(表示一日中的时间)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/012_chrono_is_am.cpp">is_am(在 12 时和 24 时格式当天时刻之间翻译)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/012_chrono_is_pm.cpp">is_pm(在 12 时和 24 时格式当天时刻之间翻译)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/012_chrono_make12.cpp">make12(在 12 时和 24 时格式当天时刻之间翻译)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/012_chrono_make24.cpp">make24(在 12 时和 24 时格式当天时刻之间翻译)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/012_chrono_last_spec.cpp">last_spec(指示一个月中最后日期或星期的标签类)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/012_chrono_day.cpp">day(表示月之日期)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/012_chrono_month.cpp">month(表示年之月份)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/012_chrono_year.cpp">year(表示格里高利历中的年)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/012_chrono_weekday.cpp">weekday(表示格里高利历中星期之日)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/012_chrono_weekday_indexed.cpp">weekday_indexed(表示月份的第 n 个 weekday)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/012_chrono_weekday_last.cpp">weekday_last(表示月份的最后一个 weekday)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/012_chrono_month_day.cpp">month_day(表示特定 month 的特定 day)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/012_chrono_month_day_last.cpp">month_day_last(表示特定 month 的最后一日)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/012_chrono_month_weekday.cpp">month_weekday(表示特定 month 的第 n 个 weekday)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/012_chrono_month_weekday_last.cpp">month_weekday_last(表示特定 month 的最后一个 weekday)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/012_chrono_year_month.cpp">year_month(表示特定 year 的特定 month)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/012_chrono_year_month_day.cpp">year_month_day(表示特定的 year 、 month 和 day)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/012_chrono_year_month_day_last.cpp">year_month_day_last(表示特定 year 和 month 的最后一日)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/012_chrono_year_month_weekday.cpp">year_month_weekday(表示特定 year 和 month 的第 n 个 weekday)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/012_chrono_year_month_weekday_last.cpp">year_month_weekday_last(表示特定 year 和 month 的最后一个 weekday)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/012_chrono_operator.cpp">operator/(创建格里高利历日期的约定语法)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/012_chrono_tzdb.cpp">tzdb(描述 IANA 时区数据库的副本)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/012_chrono_tzdb_list.cpp">tzdb_list(表示 tzdb 的链表)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/012_chrono_get_tzdb.cpp">get_tzdb(访问和控制全球时区数据库信息)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/012_chrono_get_tzdb_list.cpp">get_tzdb_list(访问和控制全球时区数据库信息)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/012_chrono_reload_tzdb.cpp">reload_tzdb(访问和控制全球时区数据库信息)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/012_chrono_remote_version.cpp">remote_version(访问和控制全球时区数据库信息)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/012_chrono_locate_zone.cpp">locate_zone(定位基于其名称的 time_zone)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/012_chrono_current_zone.cpp">current_zone(返回当前的 time_zone)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/012_chrono_time_zone.cpp">time_zone(表示时区)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/012_chrono_sys_info.cpp">sys_info(表示在特定时间点的关于时区的信息)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/012_chrono_local_info.cpp">local_info(表示关于从本地时间转换到 UNIX 时间的信息)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/012_chrono_choose.cpp">choose(选择应如何解析歧义的本地时间)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/012_chrono_zoned_traits.cpp">zoned_traits(zoned_time 所用的时区指针的特性类)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/012_chrono_zoned_time.cpp">zoned_time(表示时区和时间点)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/012_chrono_leap_second.cpp">leap_second(含有关于插入闰秒的信息)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/012_chrono_time_zone_link.cpp">time_zone_link(表示时区的替用名)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/012_chrono_nonexistent_local_time.cpp">nonexistent_local_time(抛出以报告本地时间不存在的异常)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/012_chrono_ambiguous_local_time.cpp">ambiguous_local_time(抛出以报告本地时间有歧义的异常)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/012_chrono_parse.cpp">parse(从流分析 chrono 对象)</a>

<h3 id="cpp_20_string">字符串</h3>

<h5 id="cpp_headfile_string">Defined in header<string></h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/013_string_starts_with.cpp">starts_with(检查 string 是否始于给定前缀)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/013_string_ends_with.cpp">ends_with(检查 string 是否终于给定后缀)</a>

<h5 id="cpp_headfile_string_view">Defined in header<string_view></h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/014_string_view_starts_with.cpp">starts_with(检查 string_view 是否始于给定前缀)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/014_string_view_ends_with.cpp">ends_with(检查 string_view 是否终于给定后缀)</a>

<h5 id="cpp_headfile_cuchar">Defined in header<cuchar></h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/015_cuchar_mbrtoc8.cpp">mbrtoc8(转换窄多字节字符为 UTF-8 编码)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/015_cuchar_c8rtomb.cpp">c8rtomb(转换 UTF-8 字符串为窄多字节编码)</a>

<h3 id="cpp_20_Containers_library">容器库</h3>

<h5 id="cpp_headfile_array">Defined in header<array></h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/016_array_to_array.cpp">to_array(从内建数组创建 std::array 对象)</a>

<h5 id="cpp_headfile_vector">Defined in header<vector></h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/017_vector_erase.cpp">erase(std::vector)(擦除所有满足特定判别标准的元素)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/017_vector_erase_if.cpp">erase_if(std::vector)(擦除所有满足特定判别标准的元素)</a>

<h5 id="cpp_headfile_map">Defined in header<map></h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/018_map_contains.cpp">contains(检查容器是否含有带特定键的元素)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/018_map_erase_if.cpp">erase_if(std::map)(擦除所有满足特定判别标准的元素)</a>

<h5 id="cpp_headfile_unordered_map">Defined in header<unordered_map></h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/019_unordered_map_contains.cpp">contains(检查容器是否含有带特定键的元素)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/019_unordered_map_erase_if.cpp">erase_if(std::unordered_map)(擦除所有满足特定判别标准的元素)</a>

<h5 id="cpp_headfile_span">Defined in header<span></h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/020_span_begin.cpp">begin(返回指向起始的迭代器)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/020_span_end.cpp">end(返回指向末尾的迭代器)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/020_span_rbegin.cpp">rbegin(返回指向起始的逆向迭代器)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/020_span_rend.cpp">rend(返回指向末尾的逆向迭代器)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/020_span_front.cpp">front(访问第一个元素)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/020_span_back.cpp">back(访问最后一个元素)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/020_span_dynamic_extent.cpp">dynamic_extent(size_t 类型常量,指明 span 拥有动态长度)</a>

<h5 id="cpp_headfile_span">Defined in namespace std</h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/021_std_indirectly_readable.cpp">indirectly_readable(指定类型通过应用运算符 * 可读)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/021_std_indirectly_writable.cpp">indirectly_writable(指定可向迭代器所引用的对象写入值)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/021_std_weakly_incrementable.cpp">weakly_incrementable(指定 semiregular 类型能以前后自增运算符自增)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/021_std_incrementable.cpp">incrementable(指定 weakly_incrementable 类型上的自增操作保持相等性,而且该类型为 equality_comparable)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/021_std_input_or_output_iterator.cpp">input_or_output_iterator(指定该类型对象可以自增且可以解引用)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/021_std_sentinel_for.cpp">sentinel_for(指定类型为某个 input_or_output_iterator 类型的哨位类型)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/021_std_sized_sentinel_for.cpp">sized_sentinel_for(指定可对一个迭代器和一个哨位应用 - 运算符,以在常数时间计算其距离)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/021_std_input_iterator.cpp">input_iterator(指定类型为输入迭代器,即可读取其所引用的值,且可前/后自增)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/021_std_output_iterator.cpp">output_iterator(指定类型为给定的值类型的输出迭代器,即可向其写入该类型的值,且可前/后自增)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/021_std_forward_iterator.cpp">forward_iterator(指定 input_iterator 为向前迭代器,支持相等比较与多趟操作)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/021_std_bidirectional_iterator.cpp">bidirectional_iterator(指定 forward_iterator 为双向迭代器,支持向后移动)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/021_std_random_access_iterator.cpp">random_access_iterator(指定 bidirectional_iterator 为随机访问迭代器,支持常数时间内的前进和下标访问)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/021_std_contiguous_iterator.cpp">contiguous_iterator(指定 random_access_iterator 为连续迭代器,指代内存中连续相接的元素)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/021_std_indirectly_readable_traits.cpp">indirectly_readable_traits(计算 indirectly_readable 类型的值类型)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/021_std_iter_value_t.cpp">iter_value_t(计算迭代器的关联类型)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/021_std_iter_reference_t.cpp">iter_reference_t(计算迭代器的关联类型)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/021_std_iter_difference_t.cpp">iter_difference_t(计算迭代器的关联类型)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/021_std_iter_rvalue_reference_t.cpp">iter_rvalue_reference_t(计算迭代器的关联类型)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/021_std_iter_common_reference_t.cpp">iter_common_reference_t(计算迭代器的关联类型)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/021_std_iterator_traits.cpp">iterator_traits(为迭代器各项性质提供统一接口)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/021_std_input_iterator_tag.cpp">input_iterator_tag(用于指示迭代器类别的空类类型)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/021_std_output_iterator_tag.cpp">output_iterator_tag(用于指示迭代器类别的空类类型)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/021_std_forward_iterator_tag.cpp">forward_iterator_tag(用于指示迭代器类别的空类类型)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/021_std_bidirectional_iterator_tag.cpp">bidirectional_iterator_tag(用于指示迭代器类别的空类类型)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/021_std_random_access_iterator_tag.cpp">random_access_iterator_tag(用于指示迭代器类别的空类类型)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/021_std_contiguous_iterator_tag.cpp">contiguous_iterator_tag(用于指示迭代器类别的空类类型)</a>

<h5 id="cpp_headfile_span">Defined in namespace std::ranges</h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/022_ranges_iter_move.cpp">iter_move(将解引用迭代器的结果转型为其关联的右值引用类型)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/022_ranges_iter_swap.cpp">iter_swap(交换两个可解引用对象所引用的值)</a>

<h5 id="cpp_headfile_span">Defined in namespace std</h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/023_std_indirectly_readable.cpp">indirectly_readable(指定类型通过应用运算符 * 可读)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/023_std_indirectly_writable.cpp">indirectly_writable(指定可向迭代器所引用的对象写入值)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/023_std_weakly_incrementable.cpp">weakly_incrementable(指定 semiregular 类型能以前后自增运算符自增)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/023_std_incrementable.cpp">incrementable(指定 weakly_incrementable 类型上的自增操作保持相等性,而且该类型为 equality_comparable)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/023_std_input_or_output_iterator.cpp">input_or_output_iterator(指定该类型对象可以自增且可以解引用)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/023_std_sentinel_for.cpp">sentinel_for(指定类型为某个 input_or_output_iterator 类型的哨位类型)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/023_std_sized_sentinel_for.cpp">sized_sentinel_for(指定可对一个迭代器和一个哨位应用 - 运算符,以在常数时间计算其距离)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/023_std_input_iterator.cpp">input_iterator(指定类型为输入迭代器,即可读取其所引用的值,且可前/后自增)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/023_std_output_iterator.cpp">output_iterator(指定类型为给定的值类型的输出迭代器,即可向其写入该类型的值,且可前/后自增)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/023_std_forward_iterator.cpp">forward_iterator(指定 input_iterator 为向前迭代器,支持相等比较与多趟操作)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/023_std_bidirectional_iterator.cpp">bidirectional_iterator(指定 forward_iterator 为双向迭代器,支持向后移动)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/023_std_random_access_iterator.cpp">random_access_iterator(指定 bidirectional_iterator 为随机访问迭代器,支持常数时间内的前进和下标访问)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/023_std_contiguous_iterator.cpp">contiguous_iterator(指定 random_access_iterator 为连续迭代器,指代内存中连续相接的元素)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/023_std_incrementable_traits.cpp">incrementable_traits(计算 weakly_incrementable 类型的差类型)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/023_std_indirectly_readable_traits.cpp">indirectly_readable_traits(计算 indirectly_readable 类型的值类型)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/023_std_iter_value_t.cpp">iter_value_t(计算迭代器的关联类型)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/023_std_iter_reference_t.cpp">iter_reference_t(计算迭代器的关联类型)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/023_std_iter_difference_t.cpp">iter_difference_t(计算迭代器的关联类型)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/023_std_iter_rvalue_reference_t.cpp">iter_rvalue_reference_t(计算迭代器的关联类型)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/023_std_iter_common_reference_t.cpp">iter_common_reference_t(计算迭代器的关联类型)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/023_std_iterator_traits.cpp">iterator_traits(为迭代器各项性质提供统一接口)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/023_std_input_iterator_tag.cpp">input_iterator_tag(用于指示迭代器类别的空类类型)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/023_std_output_iterator_tag.cpp">output_iterator_tag(用于指示迭代器类别的空类类型)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/023_std_forward_iterator_tag.cpp">forward_iterator_tag(用于指示迭代器类别的空类类型)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/023_std_bidirectional_iterator_tag.cpp">bidirectional_iterator_tag(用于指示迭代器类别的空类类型)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/023_std_random_access_iterator_tag.cpp">random_access_iterator_tag(用于指示迭代器类别的空类类型)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/023_std_contiguous_iterator_tag.cpp">contiguous_iterator_tag(用于指示迭代器类别的空类类型)</a>

<h5 id="cpp_headfile_span">Defined in header <iterator></h5>

<h5 id="cpp_headfile_span">Defined in namespace std</h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/024_iterator_indirectly_unary_invocable.cpp">indirectly_unary_invocable(指定可调用类型能以解引用某个 indirectly_readable 类型的结果进行调用)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/024_iterator_indirectly_regular_unary_invocable.cpp">indirectly_regular_unary_invocable(指定可调用类型能以解引用某个 indirectly_readable 类型的结果进行调用)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/024_iterator_indirect_unary_predicate.cpp">indirect_unary_predicate(指定可调用类型,在以解引用一个 indirectly_readable 类型的结果进行调用时,满足 predicate)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/024_iterator_indirect_binary_predicate.cpp">indirect_binary_predicate(指定可调用类型,在以解引用两个 indirectly_readable 类型的结果进行调用时,满足 predicate)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/024_iterator_indirect_equivalence_relation.cpp">indirect_equivalence_relation(指定可调用类型,在以解引用两个 indirectly_readable 类型的结果进行调用时,满足 equivalence_relation)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/024_iterator_indirect_strict_weak_order.cpp">indirect_strict_weak_order(指定可调用类型,在以解引用两个 indirectly_readable 类型的结果进行调用时,满足 strict_weak_order)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/024_iterator_indirectly_movable.cpp">indirectly_movable(指定可从 indirectly_readable 类型移动值给 indirectly_writable 类型)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/024_iterator_indirectly_movable_storable.cpp">indirectly_movable_storable(指定可从 indirectly_readable 类型移动值给 indirectly_writable 类型,且该移动可以通过中间对象进行)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/024_iterator_indirectly_copyable.cpp">indirectly_copyable(指定可从 indirectly_readable 类型复制值给 indirectly_writable 类型)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/024_iterator_indirectly_copyable_storable.cpp">indirectly_copyable_storable(指定可从 indirectly_readable 类型复制值给 indirectly_writable 类型,且该复制可以通过中间对象进行)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/024_iterator_indirectly_swappable.cpp">indirectly_swappable(指定能交换两个 indirectly_readable 类型所引用的值)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/024_iterator_indirectly_comparable.cpp">indirectly_comparable(指定能比较两个 indirectly_readable 类型所引用的值)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/024_iterator_permutable.cpp">permutable(指定在原位重排元素的算法的共用要求)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/024_iterator_mergeable.cpp">mergeable(指定通过复制元素将已排序序列归并到输出序列中的算法的要求)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/024_iterator_sortable.cpp">sortable(指定重排序列为有序序列的算法的共用要求)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/024_iterator_indirect_result_t.cpp">indirect_result_t(计算在解引用某组 indirectly_readable 类型的结果上调用可调用对象的结果)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/024_iterator_projected.cpp">projected(用于对接受投影的算法指定约束的辅助模板)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/024_iterator_move_sentinel.cpp">move_sentinel(用于 std::move_iterator 的哨位适配器)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/024_iterator_common_iterator.cpp">common_iterator(适配一个迭代器类型及其哨位为一个公共迭代器类型)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/024_iterator_default_sentinel_t.cpp">default_sentinel_t(用于知晓其边界的迭代器的默认哨位)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/024_iterator_counted_iterator.cpp">counted_iterator(对到范围结尾距离进行跟踪的迭代器适配器)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/024_iterator_unreachable_sentinel_t.cpp">unreachable_sentinel_t(始终与任何 weakly_incrementable 类型比较都不相等的哨位)</a>

<h5 id="cpp_headfile_span">Defined in header <iterator></h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/025_iterator_ranges_advanc.cpp">ranges::advance(令迭代器前进给定的距离或到给定的边界)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/025_iterator_ranges_distance.cpp">ranges::distance(返回迭代器与哨位间的距离,或范围起始与结尾间的距离)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/025_iterator_ranges_next.cpp">ranges::next(自增迭代器给定的距离或到边界)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/025_iterator_ranges_prev.cpp">ranges::prev(自减迭代器给定的距离或到边界)</a>

<h5 id="cpp_headfile_initializer_list">Defined in header <array></h5>

<h5 id="cpp_headfile_initializer_list">Defined in header <deque></h5>

<h5 id="cpp_headfile_initializer_list">Defined in header <forward_list></h5>

<h5 id="cpp_headfile_initializer_list">Defined in header <iterator></h5>

<h5 id="cpp_headfile_initializer_list">Defined in header <list></h5>

<h5 id="cpp_headfile_initializer_list">Defined in header <map></h5>

<h5 id="cpp_headfile_initializer_list">Defined in header <regex></h5>

<h5 id="cpp_headfile_initializer_list">Defined in header <set></h5>

<h5 id="cpp_headfile_initializer_list">Defined in header <span></h5>

<h5 id="cpp_headfile_initializer_list">Defined in header <string></h5>

<h5 id="cpp_headfile_initializer_list">Defined in header <string_view></h5>

<h5 id="cpp_headfile_initializer_list">Defined in header <unordered_map></h5>

<h5 id="cpp_headfile_initializer_list">Defined in header <unordered_set></h5>

<h5 id="cpp_headfile_initializer_list">Defined in header <vector></h5>

<h5 id="cpp_headfile_initializer_list">Defined in namespace std</h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/026_std_ssize.cpp">ssize(返回容器或数组的大小)</a>

<h5 id="cpp_headfile_span">Defined in header <ranges></h5>

<h5 id="cpp_headfile_span">Defined in header <iterator></h5>

<h5 id="cpp_headfile_span">Defined in namespace std::ranges</h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/027_ranges_ranges_begin.cpp">ranges::begin(返回指向范围起始的迭代器)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/027_ranges_ranges_cbegin.cpp">ranges::cbegin(返回指向只读范围起始的迭代器)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/027_ranges_ranges_end.cpp">ranges::end(返回指示范围结尾的哨位)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/027_ranges_ranges_cend.cpp">ranges::cend(返回指示只读范围结尾的哨位)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/027_ranges_ranges_rbegin.cpp">ranges::rbegin(返回指向范围的逆向迭代器)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/027_ranges_ranges_crbegin.cpp">ranges::crbegin(返回指向只读范围的逆向迭代器)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/027_ranges_ranges_rend.cpp">ranges::rend(返回指向范围的逆向尾迭代器)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/027_ranges_ranges_crend.cpp">ranges::crend(返回指向只读范围的逆向尾迭代器)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/027_ranges_ranges_size.cpp">ranges::size(获得能在常数时间内计算大小的范围的大小)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/027_ranges_ranges_ssize.cpp">ranges::ssize(获得能在常数时间内计算大小的范围的大小,并将它转换成有符号整数)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/027_ranges_ranges_empty.cpp">ranges::empty(检查范围是否为空)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/027_ranges_ranges_data.cpp">ranges::data(获得指向连续范围的起始的指针)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_20/027_ranges_ranges_cdata.cpp">ranges::cdata(获得指向只读连续范围的起始的指针)</a>

<div id="cpp_23" align=center> </div>

<h3 id="cpp_23_RTTI">类型支持(基本类型、RTTI、类型特性)</h3>

<h5 id="cpp_headfile_type_traits">Defined in header<type_traits></h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_23/001_rtti_is_scoped_enum.cpp">is_scoped_enum(检查类型是否为有作用域枚举类型)</a>

<h5 id="cpp_headfile_utility">Defined in header<utility></h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_23/002_utility_to_underlying.cpp">to_underlying(转换枚举到其底层类型)</a>

<h5 id="cpp_headfile_stacktrace">Defined in header<stacktrace></h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_23/003_stacktrace_stacktrace_entry.cpp">stacktrace_entry(栈踪中求值的表示)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_23/003_stacktrace_basic_stacktrace.cpp">basic_stacktrace(由栈踪条目组成的调用序列的近似表示)</a>

<h3 id="cpp_23_memory">动态内存管理</h3>

<h5 id="cpp_headfile_memory">Defined in header<memory></h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_23/004_memory_out_ptr_t.cpp">out_ptr_t(与外来指针设置器交互,并在析构时重设智能指针)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_23/004_memory_out_ptr.cpp">out_ptr(以关联的智能指针和重设参数创建 out_ptr_t)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_23/004_memory_inout_ptr_t.cpp">inout_ptr_t(与外来指针设置器交互,从智能指针获得初始指针值,并在析构时重设它)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_23/004_memory_inout_ptr.cpp">inout_ptr(以关联的智能指针和重设参数创建 inout_ptr_t)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_23/004_memory_allocation_result.cpp">allocation_result(记录由 allocate_at_least 分配的存储的地址与实际大小)</a>
  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_23/004_memory_allocate_at_least.cpp">allocate_at_least(经由分配器分配至少与请求的大小一样大的存储)</a>

<h3 id="cpp_23_string">字符串</h3>

<h5 id="cpp_headfile_string">Defined in header<string></h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_23/005_string_contains.cpp">contains(检查字符串是否含有给定的子串或字符)</a>

<h5 id="cpp_headfile_string_view">Defined in header<string_view></h5>

  • <a href="https://github.com/0voice/cpp_new_features/blob/main/cpp_23/005_string_view_contains.cpp">contains(检查字符串视图是否含有给定的子串或字符)</a>

联系专栏

零声教育,专注于c/c++Linux后台服务器开发架构技术学习提升。

每天晚上8点【免费技术直播】:分享Linux,Nginx,ZeroMQ,MySQL,Redis,fastdfs,MongoDB,ZK,流媒体,CDN,P2P,K8S,Docker,TCP/IP,协程,DPDK等技术内容,立即学习。

关注微信公众号【后台服务架构师】——【联系我们】,获取本repo最全PDF学习文档!