2
2
<feed xmlns =" http://www.w3.org/2005/Atom" >
3
3
<title >cpprefjp - C++日本語リファレンス</title >
4
4
<link href =" https://cpprefjp.github.io" />
5
- <updated >2024-11-12T14:42:15.927276 </updated >
6
- <id >77f0df5a-fcaf-4ee8-ba47-990146c528fe </id >
5
+ <updated >2024-11-13T03:59:03.964865 </updated >
6
+ <id >aaf6d623-c7d2-47e2-bb03-a810910860c3 </id >
7
7
8
8
9
+ <entry >
10
+ <title >列挙値から算術型への暗黙変換を非推奨化 [P1120R0] -- 言語機能の注意文章を更新 #1231</title >
11
+ <link href =" https://cpprefjp.github.io/lang/cpp20/deprecate_arithmetic_conversion_on_enumerations.html" />
12
+ <id >165353e4a2df20da05e1208cca403329ea548e63:lang/cpp20/deprecate_arithmetic_conversion_on_enumerations.md</id >
13
+ <updated >2024-11-13T12:55:56+09:00</updated >
14
+
15
+ <summary type =" html" >< pre>< code> diff --git a/lang/cpp20/deprecate_arithmetic_conversion_on_enumerations.md b/lang/cpp20/deprecate_arithmetic_conversion_on_enumerations.md
16
+ index 3b4d60e5d..6d327bb60 100644
17
+ --- a/lang/cpp20/deprecate_arithmetic_conversion_on_enumerations.md
18
+ +++ b/lang/cpp20/deprecate_arithmetic_conversion_on_enumerations.md
19
+ @@ -22,10 +22,10 @@ int x = +f - e; // OK
20
+ ```
21
+
22
+
23
+ -## 関連項目
24
+ +## & lt;a id=& #34;relative-page& #34; href=& #34;#relative-page& #34;& gt;関連項目& lt;/a& gt;
25
+ - [C++20 `& lt;=& gt;`/`==`による比較演算子の自動定義](consistent_comparison.md)
26
+ - [C++26 非推奨となっていた列挙型の算術変換を削除](/lang/cpp26/remove_deprecated_arithmetic_conversion_on_enumerations.md)
27
+
28
+
29
+ ## 参照
30
+ -- [P1120R0 Consistency improvements for `& lt;=& gt;` and other comparison operators](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p1120r0.html)
31
+ +- [P1120R0 Consistency improvements for `& lt;=& gt;` and other comparison operators](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p1120r0.html)
32
+ \ No newline at end of file
33
+ < /code>< /pre> </summary >
34
+
35
+ <author >
36
+ <name >Akira Takahashi</name >
37
+ <email >faithandbrave@gmail.com</email >
38
+ </author >
39
+ </entry >
40
+
41
+ <entry >
42
+ <title >列挙値から算術型への暗黙変換を非推奨化 [P2864R2] -- 言語機能の注意文章を更新 #1231</title >
43
+ <link href =" https://cpprefjp.github.io/lang/cpp26/remove_deprecated_arithmetic_conversion_on_enumerations.html" />
44
+ <id >165353e4a2df20da05e1208cca403329ea548e63:lang/cpp26/remove_deprecated_arithmetic_conversion_on_enumerations.md</id >
45
+ <updated >2024-11-13T12:55:56+09:00</updated >
46
+
47
+ <summary type =" html" >< pre>< code> diff --git a/lang/cpp26/remove_deprecated_arithmetic_conversion_on_enumerations.md b/lang/cpp26/remove_deprecated_arithmetic_conversion_on_enumerations.md
48
+ index b512f12d4..c44035a45 100644
49
+ --- a/lang/cpp26/remove_deprecated_arithmetic_conversion_on_enumerations.md
50
+ +++ b/lang/cpp26/remove_deprecated_arithmetic_conversion_on_enumerations.md
51
+ @@ -3,7 +3,7 @@
52
+
53
+ & lt;!-- start lang caution --& gt;
54
+
55
+ -このページはC++20に採用された言語機能の変更を解説しています。
56
+ +このページはC++26に採用される見込みの言語機能の変更を解説しています。
57
+
58
+ のちのC++規格でさらに変更される場合があるため[関連項目](#relative-page)を参照してください。
59
+
60
+ @@ -22,9 +22,9 @@ int x = +f - e; // OK
61
+ ```
62
+
63
+
64
+ -## 関連項目
65
+ +## & lt;a id=& #34;relative-page& #34; href=& #34;#relative-page& #34;& gt;関連項目& lt;/a& gt;
66
+ - [C++20 列挙値から算術型への暗黙変換を非推奨化](/lang/cpp20/deprecate_arithmetic_conversion_on_enumerations.md)
67
+
68
+
69
+ ## 参照
70
+ -- [P2864R2 Remove Deprecated Arithmetic Conversion on Enumerations From C++26](https://open-std.org/jtc1/sc22/wg21/docs/papers/2023/p2864r2.pdf)
71
+ +- [P2864R2 Remove Deprecated Arithmetic Conversion on Enumerations From C++26](https://open-std.org/jtc1/sc22/wg21/docs/papers/2023/p2864r2.pdf)
72
+ \ No newline at end of file
73
+ < /code>< /pre> </summary >
74
+
75
+ <author >
76
+ <name >Akira Takahashi</name >
77
+ <email >faithandbrave@gmail.com</email >
78
+ </author >
79
+ </entry >
80
+
9
81
<entry >
10
82
<title >コンパイラの実装状況 -- C++26: 「非推奨となっていた列挙型の算術変換を削除」と関連するC++20仕様変更を追加 (close #1231)</title >
11
83
<link href =" https://cpprefjp.github.io/implementation-status.html" />
@@ -5841,31 +5913,4 @@ index 000000000..4cf7047e0
5841
5913
</author >
5842
5914
</entry >
5843
5915
5844
- <entry >
5845
- <title >未初期化変数の読み取りをエラー性動作とする [P2795R5] -- fix typo</title >
5846
- <link href =" https://cpprefjp.github.io/lang/cpp26/erroneous_behavior_for_uninitialized_reads.html" />
5847
- <id >1c11eb89d353692111238981daf65506b80759b0:lang/cpp26/erroneous_behavior_for_uninitialized_reads.md</id >
5848
- <updated >2024-11-11T12:57:15+09:00</updated >
5849
-
5850
- <summary type =" html" >< pre>< code> diff --git a/lang/cpp26/erroneous_behavior_for_uninitialized_reads.md b/lang/cpp26/erroneous_behavior_for_uninitialized_reads.md
5851
- index 17797acbc..4cf7047e0 100644
5852
- --- a/lang/cpp26/erroneous_behavior_for_uninitialized_reads.md
5853
- +++ b/lang/cpp26/erroneous_behavior_for_uninitialized_reads.md
5854
- @@ -78,7 +78,7 @@ int main() {
5855
- assert(e2 == d1); // 常に真、エラー性動作
5856
-
5857
- // エラー性動作ではないが
5858
- - // d2はエラー性動作をもつ
5859
- + // d2はエラー性の値をもつ
5860
- std::memcpy(& amp;d2, & amp;d1, sizeof(int));
5861
-
5862
- assert(e1 == d2); // 常に真、エラー性動作
5863
- < /code>< /pre> </summary >
5864
-
5865
- <author >
5866
- <name >Akira Takahashi</name >
5867
- <email >faithandbrave@gmail.com</email >
5868
- </author >
5869
- </entry >
5870
-
5871
5916
</feed >
0 commit comments