C++20 标准草案全票批准通过,越来越臃肿?
喜欢就关注我们吧!
9月4日,C++20 的国际标准草案(DIS, Draft International Standard)投票结束,最终获全票批准通过。
这意味着 C++20 已获得了最终的技术批准,并完成了 ISO 的投票,预计在完成最后一轮 ISO 的编辑工作后,C++20 将在2020年底正式发布。
与上个版本 C++17 相比,C++20 是一次重大的更新,引入了许多新特性:
模块 (Modules) 协程 (Coroutines) 范围 (Ranges) 概念与约束 (Constraints and concepts) 指定初始化 (designated initializers) 操作符 <=> != ==
constexpr
支持:new
/delete
、dynamic_cast
、try
/catch
、虚拟constexpr
向量和字符串计时:日历、时区支持 std::format
std::span
std::jthread
C++23 schedule (P1000R4) C++23 priorities (P0592R4)
▼
觉得不错,请点个在看呀
最新评论
推荐文章
作者最新文章
你可能感兴趣的文章
Copyright Disclaimer: The copyright of contents (including texts, images, videos and audios) posted above belong to the User who shared or the third-party website which the User shared from. If you found your copyright have been infringed, please send a DMCA takedown notice to [email protected]. For more detail of the source, please click on the button "Read Original Post" below. For other communications, please send to [email protected].
版权声明:以上内容为用户推荐收藏至CareerEngine平台,其内容(含文字、图片、视频、音频等)及知识版权均属用户或用户转发自的第三方网站,如涉嫌侵权,请通知[email protected]进行信息删除。如需查看信息来源,请点击“查看原文”。如需洽谈其它事宜,请联系[email protected]。
版权声明:以上内容为用户推荐收藏至CareerEngine平台,其内容(含文字、图片、视频、音频等)及知识版权均属用户或用户转发自的第三方网站,如涉嫌侵权,请通知[email protected]进行信息删除。如需查看信息来源,请点击“查看原文”。如需洽谈其它事宜,请联系[email protected]。