File tree Expand file tree Collapse file tree 3 files changed +13
-2
lines changed Expand file tree Collapse file tree 3 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 278278| P2316R2: [ 文字リテラルエンコーディングを一貫させる] ( /lang/cpp23/consistent_character_literal_encoding.md ) | プリプロセッサの条件式での文字リテラルの扱いをC++式と同様にする | yes | yes | 2022.2 | 2022 |
279279| P2334R1: [ ` elif ` /` elifdef ` /` elifndef ` のサポートを追加] ( /lang/cpp23/add_support_for_preprocessing_directives_elifdef_and_elifndef.md ) | ` #if ` /` #ifdef ` /` #ifndef ` に対応する複数条件命令のサポートを追加する | 12 | 13 | 2022.2 | - |
280280| P2437R1: [ ` #warning ` のサポートを追加] ( /lang/cpp23/warning.md ) | 多くのC++コンパイラが実装していたプリプロセス時の警告` #warning message ` を正式サポート | yes | yes | 2023.2 | yes |
281- | P2295R6: [ 汎用的なソースコードのエンコーディングとしてUTF-8をサポート] ( /lang/cpp23/support_for_utf8_as_a_portable_source_file_encoding.md.nolink ) | | 13 | 15 | 2023.2 | 2019 Update 2 |
281+ | P2295R6: [ 汎用的なソースコードのエンコーディングとしてUTF-8をサポート] ( /lang/cpp23/support_for_utf8_as_a_portable_source_file_encoding.md ) | すべてのコンパイラはUTF-8文字コードのソースコードをサポートしなければならない | 13 | 15 | 2023.2 | 2019 Update 2 |
282282| P2223R2: [ 行末スペースを無視するよう規定] ( /lang/cpp23/trimming_whitespaces_before_line_splicing.md ) | 行末が「<code >\ </code >」でおわっていた場合にMSVCは行の継続をしない実装になっていたため動作を共通化するため仕様を規定 | Yes | Yes | 2022.2 | - |
283283
284284
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ C++23とは、2023年中に改訂される予定の、C++バージョンの通
9898| [ 文字リテラルエンコーディングを一貫させる] ( cpp23/consistent_character_literal_encoding.md ) | プリプロセッサの条件式での文字リテラルの扱いをC++式と同様にする |
9999| [ ` elif ` /` elifdef ` /` elifndef ` のサポートを追加] ( cpp23/add_support_for_preprocessing_directives_elifdef_and_elifndef.md ) | ` #if ` /` #ifdef ` /` #ifndef ` に対応する複数条件命令のサポートを追加する |
100100| [ ` #warning ` のサポートを追加] ( cpp23/warning.md ) | 多くのC++コンパイラが実装していたプリプロセス時の警告` #warning message ` を正式サポート |
101- | [ 汎用的なソースコードのエンコーディングとしてUTF-8をサポート] ( cpp23/support_for_utf8_as_a_portable_source_file_encoding.md.nolink ) | |
101+ | [ 汎用的なソースコードのエンコーディングとしてUTF-8をサポート] ( cpp23/support_for_utf8_as_a_portable_source_file_encoding.md ) | すべてのコンパイラはUTF-8文字コードのソースコードをサポートしなければならない |
102102
103103
104104### 小さな変更
Original file line number Diff line number Diff line change 1+ # 汎用的なソースコードのエンコーディングとしてUTF-8をサポート
2+ * cpp23[ meta cpp]
3+
4+ ## 概要
5+ C++20まで、ソースコードの文字集合は実装定義だったが、その仕様では移植性に問題があった。C++23からは、すべてのコンパイラはUTF-8文字コードのソースコードをサポートしなければならないことが規定される。
6+
7+ コンパイラは、ほかの文字コードと区別するため、入力ファイルがUTF-8であることを決定する実装定義の手段をもたなければならない。つまり、BOM (バイトオーダーマーク) を認識するだけでは十分ではない。
8+
9+
10+ ## 参照
11+ - [ P2295R6 Support for UTF-8 as a portable source file encoding] ( https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p2295r6.pdf )
You can’t perform that action at this time.
0 commit comments