C23 (C言語)

提供: testwiki
ナビゲーションに移動 検索に移動

テンプレート:Pathnav テンプレート:翻訳直後 テンプレート:要改訳

C23ISO/IEC 9899:2024)とは、C言語の現在のオープン標準であり、テンプレート:仮リンク(ISO/IEC 9899:2018)の後継規格である[1]。2016年にC2xとして非公式に策定が開始され[2]、2024年10月31日に発行された[3]。発行された規格に最も近い自由に入手できる草案はN3220である(#利用可能な文書を参照)[4]。C2x草案の最初のWG14会議は2019年10月に開催され[5]新型コロナウイルス感染症の世界的流行によって2020年は仮想リモート会議として開催され、その後、2024年まで様々な遠隔会議が継続的に開催された。

C23では、テンプレート:Codeの値がテンプレート:Codeからテンプレート:Codeに変更される。一般名の「C17」や「C23」はISO規格識別子の年(9899:2018と9899:2024)ではなく、規格発行前に固定されるこれらの値を反映している。

機能

C23の最新の作業草案に統合された変更点は以下の通りである[6]

標準ライブラリ

新規関数

既存の関数

プリプロセッサ

データ型

定数

キーワード

構文

C++との互換性

その他の機能

廃止された機能

いくつかの古く廃止された機能がC23の作業草案では削除または非推奨となった:

コンパイラの対応

テンプレート:更新

以下のコンパイラはC23に実験的に対応しており、これを利用するためのオプションを提供している:

利用可能な文書

C17などの他のC言語の標準規格と同様に、C23のISOの公式規格書は自由に入手することはできない。

C23の仕様が確定する前の最後の作業草案は2023年4月1日付のN3096である[6]。この草案の後の数カ月間、2023年7日9日付の作業草案N3149と2024年2月22日付の公式標準草案N3219が作成されるまでに数百の変更[71]が行われた[71][72]。これら以降の草案は非公開である[71][72]

標準草案N3219が発表されたのと同日、新たな作業草案N3220[4]が公開された。この草案は公式には将来のC言語の標準である「C2Y」の草案であると説明[72]されているが、付随する「編集者レポート」では、N3219との違いは付録Kの1つの脚注の修正だけであると明記されている[72]

参考文献

  • N3096 (last freely-available working draft before C23); WG14; April 2023. (free download)
  • N3149 (working draft of C23 standard); WG14; July 2023. (not available to public)
  • N3219 (ISO/IEC 9899:2023 DIS Draft); WG14; February 2024. (ISO draft available but not free)
  • ISO/IEC 9899:2024 (official C23 standard); ISO; 2024. (planning for release in 2024)
  • N3220 (first working draft after C23; differs from draft standard N3219 only in one footnote[72]); WG14; February 2024. (free download)

脚注

テンプレート:脚注ヘルプ テンプレート:Reflist

関連項目

外部リンク

テンプレート:CProLang

  1. テンプレート:Cite web
  2. テンプレート:Cite web
  3. テンプレート:Cite web
  4. 4.0 4.1 テンプレート:Cite web
  5. テンプレート:Cite web
  6. 6.0 6.1 テンプレート:Cite web
  7. テンプレート:Cite web
  8. テンプレート:Cite web
  9. テンプレート:Cite web
  10. テンプレート:Cite web
  11. 11.00 11.01 11.02 11.03 11.04 11.05 11.06 11.07 11.08 11.09 11.10 テンプレート:Cite web
  12. テンプレート:Cite web
  13. See N3096 § B.11 for a useful overview. The functions were added in separate documents: N2488, its updated versions, and its refs.
  14. 14.0 14.1 14.2 テンプレート:Cite web
  15. テンプレート:Cite web
  16. 16.0 16.1 テンプレート:Cite web
  17. テンプレート:Cite web
  18. テンプレート:Cite web
  19. テンプレート:Cite web
  20. テンプレート:Cite web
  21. テンプレート:Cite web
  22. テンプレート:Cite web
  23. 23.0 23.1 テンプレート:Cite web
  24. テンプレート:Cite web
  25. テンプレート:Cite web
  26. テンプレート:Cite web
  27. テンプレート:Cite web
  28. テンプレート:Cite web
  29. テンプレート:Cite web
  30. テンプレート:Cite web
  31. テンプレート:Cite web
  32. テンプレート:Cite web
  33. テンプレート:Cite web
  34. テンプレート:Cite web
  35. テンプレート:Cite web
  36. テンプレート:Cite web
  37. テンプレート:Cite web
  38. テンプレート:Cite web
  39. テンプレート:Cite web
  40. テンプレート:Cite web
  41. テンプレート:Cite web
  42. テンプレート:Cite web
  43. テンプレート:Cite web
  44. テンプレート:Cite web
  45. 45.0 45.1 テンプレート:Cite web
  46. テンプレート:Cite web
  47. テンプレート:Cite web
  48. テンプレート:Cite web
  49. テンプレート:Cite web
  50. テンプレート:Cite web
  51. テンプレート:Cite web
  52. テンプレート:Cite web
  53. テンプレート:Cite web
  54. テンプレート:Cite web
  55. テンプレート:Cite web
  56. テンプレート:Cite web
  57. テンプレート:Cite web
  58. テンプレート:Cite web
  59. テンプレート:Cite web
  60. テンプレート:Cite web
  61. テンプレート:Cite web
  62. テンプレート:Cite web
  63. テンプレート:Cite web
  64. テンプレート:Cite web
  65. テンプレート:Cite web
  66. テンプレート:Cite web
  67. テンプレート:Cite web
  68. テンプレート:Cite web
  69. テンプレート:Cite web
  70. テンプレート:Cite web
  71. 71.0 71.1 71.2 テンプレート:Cite web
  72. 72.0 72.1 72.2 72.3 72.4 テンプレート:Cite web