Rokiのチラ裏

学生による学習のログ

C++20 進捗

先日、ISO C++委員会は、カナダのトロントで次の国際標準であるC++20の作業を開始し、技術仕様の開発が続かれたC++ 20ドラフトには、以下の機能が追加された。

  • Concepts
  • Explicit generic lambdas
  • _VA_OPT_
  • Default bit-field initializers
  • Fixed const-qualified pointers to members
  • Allow[=, this] as a lambda capture
  • Designated Initializers
  • More deduction guides for the standard library
  • Endian
  • Fixing string conversion fixes
  • Improve class template argument deduction in the stdlib
  • Arrays for make_shared
  • THREE Technical Specifications
    • Coroutines v1
    • Ranges v1
    • Networking v1


その他、reddit ページと内容が被るところがあるが、参考書執筆の際のリファレンスにするために、主に話題に上がっている提案書のリンクをリビジョン含めてまとめたので、もし提案の経緯など追いたければどうぞ。
github.com