Skip to content

Commit 0c0e1f8

Browse files
committed
Merge branch 'master' into cpp26_reflection
2 parents f9c1d6b + 113d267 commit 0c0e1f8

136 files changed

Lines changed: 819 additions & 184 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

GLOBAL_DEFINED_WORDS.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,11 @@
185185
"yomi": "れいがい",
186186
"desc": "問題が発生したときに、現在実行位置を過去に通過・記録した位置に戻し、文脈情報を添えて紐づけられた処理(例外ハンドラー)を呼び出す仕組み。またはその事態"
187187
},
188+
"浮動小数点例外": {
189+
"link": "/reference/cfenv.md",
190+
"yomi": "ふどうしょうすうてんれいがい",
191+
"desc": "floating-point exception。ゼロ除算やオーバーフロー等の算術的な問題が発生した際に、浮動小数点環境に設定される状態フラグのこと。C++言語機能の例外機構(try-catch)とは異なる。"
192+
},
188193
"ヌル終端": {
189194
"yomi": "ぬるしゅうたん",
190195
"desc": "null-terminated。文字列においてヌル文字 '\\0' を用いてその終端を表すこと。ヌル文字自体は文字列に含まない。広義には線形データ構造においてヌルまたは値 0 を番兵としてその終わりを示すこと"
@@ -197,6 +202,12 @@
197202
"yomi": "よりもまえにはっせいする",
198203
"desc": "happens before。(異なるスレッド間の) 2つの操作の実行順序を規定する関係"
199204
},
205+
"よりも前に発生し": { "yomi": "よりもまえにはっせいし", "redirect": "よりも前に発生する" },
206+
"よりも後に発生する": {
207+
"yomi": "よりもあとにはっせいする",
208+
"desc": "happens after。(異なるスレッド間の) 2つの操作の実行順序を規定する関係"
209+
},
210+
"よりも後に発生し": { "yomi": "よりもあとにはっせいし", "redirect": "よりも後に発生する" },
200211
"よりも確実に前に発生する": {
201212
"yomi": "よりもかくじつにまえにはっせいする",
202213
"desc": "strongly happens before。(異なるスレッド間の) 2つの操作の実行順序を規定する強い関係"

implementation-status.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@
263263
| P1938R3: [`if consteval`](/lang/cpp23/if_consteval.md) | コンパイル時の文脈かどうかで分岐させる | 12 | 14 | - | 2022 Update 14 |
264264
| P1401R5: [定数式の文脈での`bool`への縮小変換を許可](/lang/cpp23/narrowing_contextual_conversions_to_bool.md) | `if constexpr(flags & Flags::Exec)``static_assert(N);`を許可 | 9 | 13 | 2022.2 | 2022 Update 14 |
265265
| P2242R3: [定数式内での非リテラル変数、静的変数・スレッドローカル変数およびgotoとラベルの存在を許可する](/lang/cpp23/non_literal_variables_in_constexpr_functions.md) | コンパイル時に評価されない限り、定数式内に静的変数・スレッドローカル変数およびgoto文とラベルを含むことを許可する | 12 | 15 | 2022.2 | 2022 Update 13 |
266-
| P2246R1: [静的な診断メッセージの文字エンコーディング](/lang/cpp23/character_encoding_of_diagnostic_text.md) | `static_assert``[[deprecated]]`などの診断メッセージの文字集合に関する要件をなくす | - | yes | 2022.2 | 2022 |
266+
| P2246R1: [静的な診断メッセージの文字エンコーディング](/lang/cpp23/character_encoding_of_diagnostic_text.md) | `static_assert``[[deprecated]]`などの診断メッセージの文字集合に関する要件をなくす | 16 | yes | 2022.2 | 2022 |
267267
| P2448R2: [`constexpr`関数が定数実行できない場合でも適格とする](/lang/cpp23/relaxing_some_constexpr_restrictions.md) | | 13 | 17 (partial) | 2024.0 (partial) | - |
268268
| P2647R1: [`constexpr`関数内での`static constexpr`変数を許可](/lang/cpp23/permitting_static_constexpr_variables_in_constexpr_functions.md) | `constexpr`関数のローカルで定数を定義できるようにする | 13 | 16 | 2023.2 | - |
269269
| P2564R3: [`constexpr`関数内で`consteval`関数を呼び出せない問題を緩和](/lang/cpp23/consteval_needs_to_propagate_up.md) | `consteval`呼び出しを含む`constexpr`関数を条件付きで`consteval`関数とみなすようにする | - | 17 | 2024.0 | - |
@@ -309,24 +309,24 @@
309309
| P0609R3: [構造化束縛への属性を許可](/lang/cpp26/attributes_for_structured_bindings.md) | `auto [a, b [[maybe_unused]], c] = f();`のように構造化束縛の要素に対して属性を付加できるようにする | 15 | 19 | | |
310310
| P3034R1: [モジュール宣言でのモジュール名のマクロ展開を禁止する](/lang/cpp26/module_declarations_shouldnt_be_macros.md) | `export module MACRO_NAME;`を禁止 | 15 | | | |
311311
| P2809R3: [空の無限ループは未定義動作ではないと規定](/lang/cpp26/trivial_infinite_loops_are_not_undefined_behavior.md) | 並行プログラムの進行保証などを考慮して空の無限ループを未定義動作ではないものとする | 14 | 19 | | |
312-
| P2795R5: [未初期化変数の読み取りをエラー性動作とする](/lang/cpp26/erroneous_behavior_for_uninitialized_reads.md) | 初期化されていない自動変数の読み取りの安全性を規定する | | | | |
312+
| P2795R5: [未初期化変数の読み取りをエラー性動作とする](/lang/cpp26/erroneous_behavior_for_uninitialized_reads.md) | 初期化されていない自動変数の読み取りの安全性を規定する | 16 | | | |
313313
| P2573R2: [関数宣言を削除する理由を指定できるようにする](/lang/cpp26/delete_reason.md) | `f() = delete("reason");` | 15 | 19 | | |
314314
| P2893R3: [可変引数テンプレートで`friend`宣言をできるようにする](/lang/cpp26/variadic_friends.md) | クラステンプレートの可変引数テンプレートでまとめて`friend`宣言できるようにする | 15 | 20 | | |
315315
| P2747R2: [`constexpr`配置`new`](/lang/cpp26/constexpr_placement_new.md) | 定数式の文脈での配置`new`を許可 | 15 | 20 | | |
316316
| P3144R2: [不完全型へのポインタに対する`delete`を不適格とする](/lang/cpp26/deleting_a_pointer_to_an_incomplete_type_should_be_ill-formed.md) | 未定義動作を引き起こす操作をコンパイルエラーとする | 15 | 19 | | |
317317
| P2963R3: [制約式内での畳み込み式の順序付け](/lang/cpp26/ordering_of_constraints_involving_fold_expressions.md) | 畳み込み式を含む制約の包摂関係を認識できるようにし、オーバーロード解決の曖昧さを解消する | | 19 | | |
318318
| P0963R3: [条件式での構造化束縛の使用を許可](/lang/cpp26/structured_binding_declaration_as_a_condition.md) | 式全体を`bool`値に変換できる場合に条件式で構造化束縛を使用できることとする | 15 | | | |
319-
| P2686R5: [`constexpr`構造化束縛の許可と、`constexpr`参照の制限緩和](/lang/cpp26/constexpr_structured_bindings_and_references_to_constexpr_variables.md) | 定数式に対する構造化束縛を許可し、関連して`constexpr`参照の制限を緩和して自動変数も参照できるようにする | | | | |
320-
| P3068R6: [定数評価での例外送出を許可](/lang/cpp26/allowing_exception_throwing_in_constant-evaluation.md) | 定数式の文脈での例外の送出と捕捉を許可 | | | | |
319+
| P2686R5: [`constexpr`構造化束縛の許可と、`constexpr`参照の制限緩和](/lang/cpp26/constexpr_structured_bindings_and_references_to_constexpr_variables.md) | 定数式に対する構造化束縛を許可し、関連して`constexpr`参照の制限を緩和して自動変数も参照できるようにする | 16 | | | |
320+
| P3068R6: [定数評価での例外送出を許可](/lang/cpp26/allowing_exception_throwing_in_constant-evaluation.md) | 定数式の文脈での例外の送出と捕捉を許可 | 16 | | | |
321321
| P2865R6: [非推奨だった組み込み配列の比較を削除](/lang/cpp26/remove_deprecated_array_comparisons.md) | C++20で非推奨となっていた配列比較を削除 | 15 | 20 | | |
322-
| P1061R10: [構造化束縛でパックを導入できるようにする](/lang/cpp26/structured_bindings_can_introduce_a_pack.md) | タプルを分解する際に複数の変数をパックとして宣言できるようにする。`auto [a, ...xs] = f();` | | | | |
322+
| P1061R10: [構造化束縛でパックを導入できるようにする](/lang/cpp26/structured_bindings_can_introduce_a_pack.md) | タプルを分解する際に複数の変数をパックとして宣言できるようにする。`auto [a, ...xs] = f();` | 16 | | | |
323323
| P3176R0: [先行するカンマのない省略記号を非推奨化](/lang/cpp26/the_oxford_variadic_comma.md) | `void f(int, ...);`はOK。`void f(int...);`は非推奨 | 15 | 20 | | |
324324
| P3074R7: [共用体の特殊メンバ関数のトリビアル化](/lang/cpp26/trivial_unions.md) | 非トリビアルな型をメンバにもつ共用体のデフォルトコンストラクタとデストラクタをトリビアルにし、未初期化ストレージとして使用可能にする | | | | |
325-
| P2900R14: [契約プログラミングをサポートする](/lang/cpp26/contracts.md) | 関数の事前条件、事後条件、不変条件を記述できるようにする | | | | |
325+
| P2900R14: [契約プログラミングをサポートする](/lang/cpp26/contracts.md) | 関数の事前条件、事後条件、不変条件を記述できるようにする | 16 | | | |
326326
| P2841R7: [コンセプトと変数テンプレートをテンプレート引数として渡せるようにする](/lang/cpp26/concept_and_variable-template_template-parameters.md) | テンプレートテンプレートパラメータとして、クラステンプレートやエイリアステンプレートに加え、コンセプトと変数テンプレートも渡せるようにする | | | | |
327327
| P1967R14: [ファイルを読み込む`#embed`命令を追加](/lang/cpp26/embed.md) | バイナリファイルをインクルードするメカニズム。`#include`とちがって読み出しサイズなどの柔軟な指定ができる | 15 | | | |
328328
| P3618R0: [`main`関数をグローバルモジュールに含められるようにする](/lang/cpp26/allow_attaching_main_to_the_global_module.md) | `main`関数に`extern "C++"`を指定できるようにすることで名前付きモジュールに含められるようにする | 16 | 21 | | | |
329-
| P2996R13: [静的リフレクション](/lang/cpp26/reflection.md) | リフレクション演算子`^^``std::meta::info`型によりコンパイル時にさまざまな情報を取得できる | | | | |
329+
| P2996R13: [静的リフレクション](/lang/cpp26/reflection.md) | リフレクション演算子`^^``std::meta::info`型によりコンパイル時にさまざまな情報を取得できる | 16 | | | |
330330
| P1306R5: [コンパイル時のタプルやリストを展開処理する`template for`](/lang/cpp26/expansion_statements.md) | タプル・構造体・Range・パラメータパックなどの各要素に対してコンパイル時に文を展開する`template for`文を追加 | 16 | | | |
331331
| P3533R2: [`constexpr`仮想継承を許可](/lang/cpp26/constexpr_virtual_inheritance.md) | 定数式の文脈での仮想継承を許可 | 16 | | | |
332332
| P2843R3: [プリプロセッサ仕様での「未定義動作」を不適格 (診断不要) に変更](/lang/cpp26/preprocessing_is_never_undefined.md) | プリプロセッサとレキサーの文脈での「未定義動作」用語を不適格 (診断不要) に変更 | 16 | | | |

lang/cpp11/string_literal_concatenation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ int main()
2929
std::wcout << s2 << std::endl;
3030
}
3131
```
32-
* std::wcout[link /reference/iostream/cout.md]
32+
* std::wcout[link /reference/iostream/wcout.md]
3333

3434
### 出力
3535
```

lang/cpp26/concept_and_variable-template_template-parameters.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ C++23でこれらをテンプレート引数として渡すためには、`stati
8686
- コンセプトの簡略構文 (terse syntax) や包摂 (subsumption) の恩恵を受けられない
8787
- APIに不必要な複雑性を追加する
8888

89-
この提案は、[P1985R3 Universal Template Parameters](https://open-std.org/jtc1/sc22/wg21/docs/papers/2020/p1985r3.pdf)のサブセットとして、コンセプトと変数テンプレートに対するテンプレートテンプレートパラメータのサポートを先行して追加するものである。
89+
この提案は、[P1985R3 Universal Template Parameters](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p1985r3.pdf)のサブセットとして、コンセプトと変数テンプレートに対するテンプレートテンプレートパラメータのサポートを先行して追加するものである。
9090

9191

9292
## <a id="relative-page" href="#relative-page">関連項目</a>

reference/algorithm/adjacent_find.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,11 @@ ForwardIterator adjacent_find(ForwardIterator first, ForwardIterator last, Binar
157157
- [ICC](/implementation.md#icc): ??
158158
- [Visual C++](/implementation.md#visual_cpp): ??
159159
160+
161+
## 関連項目
162+
- [`ranges::adjacent_find`](/reference/algorithm/ranges_adjacent_find.md)
163+
164+
160165
## 参照
161166
- [P0202R3 Add Constexpr Modifiers to Functions in `<algorithm>` and `<utility>` Headers](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0202r3.html)
162167
- [P0574R1 Algorithm Complexity Constraints and Parallel Overloads](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0574r1.html)

reference/algorithm/all_of.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ bool all_of(InputIterator first, InputIterator last, Predicate pred) {
8888
## 関連項目
8989
- [`any_of`](/reference/algorithm/any_of.md)
9090
- [`none_of`](/reference/algorithm/none_of.md)
91+
- [`ranges::all_of`](/reference/algorithm/ranges_all_of.md)
9192
9293
9394
## 参照

reference/algorithm/any_of.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ bool any_of(InputIterator first, InputIterator last, Predicate pred) {
8989
## 関連項目
9090
- [`all_of`](/reference/algorithm/all_of.md)
9191
- [`none_of`](/reference/algorithm/none_of.md)
92+
- [`ranges::any_of`](/reference/algorithm/ranges_any_of.md)
9293
9394
9495
## 参照

reference/algorithm/binary_search.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,11 @@ bool binary_search(ForwardIterator first, ForwardIterator last,
163163
- [ICC](/implementation.md#icc): ??
164164
- [Visual C++](/implementation.md#visual_cpp): ??
165165

166+
167+
## 関連項目
168+
- [`ranges::binary_search`](/reference/algorithm/ranges_binary_search.md)
169+
170+
166171
## 参照
167172
- [LWG Issue 787. complexity of `binary_search`](http://www.open-std.org/jtc1/sc22/wg21/docs/lwg-defects.html#787)
168173
- C++03までの計算量が間違っていたので、C++11で修正。

reference/algorithm/clamp.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,10 @@ int main()
7878
- [Visual C++](/implementation.md#visual_cpp): ??
7979

8080

81+
## 関連項目
82+
- [`ranges::clamp`](/reference/algorithm/ranges_clamp.md)
83+
84+
8185
## 参照
8286
- [N4536 An algorithm to "clamp" a value between a pair of boundary values](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/n4536.html)
8387
- [P0025R0 An algorithm to "clamp" a value between a pair of boundary values (revision 1)](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/p0025r0.html)

reference/algorithm/copy.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,11 @@ OutputIterator copy(InputIterator first, InputIterator last, OutputIterator resu
102102
- [ICC](/implementation.md#icc): ??
103103
- [Visual C++](/implementation.md#visual_cpp): ??
104104
105+
106+
## 関連項目
107+
- [`ranges::copy`](/reference/algorithm/ranges_copy.md)
108+
109+
105110
## 参照
106111
- [P0202R3 Add Constexpr Modifiers to Functions in `<algorithm>` and `<utility>` Headers](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0202r3.html)
107112
- [P0467R2 Iterator Concerns for Parallel Algorithms](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0467r2.html)

0 commit comments

Comments
 (0)