Skip to content

Commit 39ecd6b

Browse files
author
cpprefjp-autoupdate
committed
update automatically
1 parent e171b74 commit 39ecd6b

File tree

4 files changed

+83
-38
lines changed

4 files changed

+83
-38
lines changed

lang/cpp20/deprecate_arithmetic_conversion_on_enumerations.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,8 @@
188188

189189
<p class="text-right"><small>
190190
最終更新日時(UTC):
191-
<span itemprop="datePublished" content="2024-11-11T08:15:48">
192-
2024年11月11日 08時15分48秒
191+
<span itemprop="datePublished" content="2024-11-13T03:55:56">
192+
2024年11月13日 03時55分56秒
193193
</span>
194194
<br/>
195195
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -227,7 +227,7 @@ <h2>概要</h2>
227227
<span class="kt">int</span> <span class="n">x</span> <span class="o">=</span> <span class="o">+</span><span class="n">f</span> <span class="o">-</span> <span class="n">e</span><span class="p">;</span> <span class="c1">// OK</span>
228228
</code></pre></div>
229229
</p>
230-
<h2>関連項目</h2>
230+
<h2><a href="#relative-page" id="relative-page">関連項目</a></h2>
231231
<ul>
232232
<li><a href="consistent_comparison.html">C++20 <code>&lt;=&gt;</code>/<code>==</code>による比較演算子の自動定義</a></li>
233233
<li><a href="../cpp26/remove_deprecated_arithmetic_conversion_on_enumerations.html">C++26 非推奨となっていた列挙型の算術変換を削除</a></li>

lang/cpp26/remove_deprecated_arithmetic_conversion_on_enumerations.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,8 @@
188188

189189
<p class="text-right"><small>
190190
最終更新日時(UTC):
191-
<span itemprop="datePublished" content="2024-11-11T08:15:48">
192-
2024年11月11日 08時15分48秒
191+
<span itemprop="datePublished" content="2024-11-13T03:55:56">
192+
2024年11月13日 03時55分56秒
193193
</span>
194194
<br/>
195195
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -214,7 +214,7 @@
214214

215215
<h1 itemprop="name"><span class="token">列挙値から算術型への暗黙変換を非推奨化 [P2864R2]</span><span class="cpp cpp26" title="C++26で追加">(C++26)</span></h1>
216216
<div itemprop="articleBody"><p></p>
217-
<p>このページはC++20に採用された言語機能の変更を解説しています</p>
217+
<p>このページはC++26に採用される見込みの言語機能の変更を解説しています</p>
218218
<p>のちのC++規格でさらに変更される場合があるため<a href="#relative-page">関連項目</a>を参照してください。</p>
219219
<p></p>
220220
<h2>概要</h2>
@@ -227,7 +227,7 @@ <h2>概要</h2>
227227
<span class="kt">int</span> <span class="n">x</span> <span class="o">=</span> <span class="o">+</span><span class="n">f</span> <span class="o">-</span> <span class="n">e</span><span class="p">;</span> <span class="c1">// OK</span>
228228
</code></pre></div>
229229
</p>
230-
<h2>関連項目</h2>
230+
<h2><a href="#relative-page" id="relative-page">関連項目</a></h2>
231231
<ul>
232232
<li><a href="../cpp20/deprecate_arithmetic_conversion_on_enumerations.html">C++20 列挙値から算術型への暗黙変換を非推奨化</a></li>
233233
</ul>

rss.xml

Lines changed: 74 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,82 @@
22
<feed xmlns="http://www.w3.org/2005/Atom">
33
<title>cpprefjp - C++日本語リファレンス</title>
44
<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>
77

88

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">&lt;pre&gt;&lt;code&gt;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+
+## &amp;lt;a id=&amp;#34;relative-page&amp;#34; href=&amp;#34;#relative-page&amp;#34;&amp;gt;関連項目&amp;lt;/a&amp;gt;
25+
- [C++20 `&amp;lt;=&amp;gt;`/`==`による比較演算子の自動定義](consistent_comparison.md)
26+
- [C++26 非推奨となっていた列挙型の算術変換を削除](/lang/cpp26/remove_deprecated_arithmetic_conversion_on_enumerations.md)
27+
28+
29+
## 参照
30+
-- [P1120R0 Consistency improvements for `&amp;lt;=&amp;gt;` and other comparison operators](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p1120r0.html)
31+
+- [P1120R0 Consistency improvements for `&amp;lt;=&amp;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+
&lt;/code&gt;&lt;/pre&gt;</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">&lt;pre&gt;&lt;code&gt;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+
&amp;lt;!-- start lang caution --&amp;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+
+## &amp;lt;a id=&amp;#34;relative-page&amp;#34; href=&amp;#34;#relative-page&amp;#34;&amp;gt;関連項目&amp;lt;/a&amp;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+
&lt;/code&gt;&lt;/pre&gt;</summary>
74+
75+
<author>
76+
<name>Akira Takahashi</name>
77+
<email>faithandbrave@gmail.com</email>
78+
</author>
79+
</entry>
80+
981
<entry>
1082
<title>コンパイラの実装状況 -- C++26: 「非推奨となっていた列挙型の算術変換を削除」と関連するC++20仕様変更を追加 (close #1231)</title>
1183
<link href="https://cpprefjp.github.io/implementation-status.html"/>
@@ -5841,31 +5913,4 @@ index 000000000..4cf7047e0
58415913
</author>
58425914
</entry>
58435915

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">&lt;pre&gt;&lt;code&gt;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;amp;d2, &amp;amp;d1, sizeof(int));
5861-
5862-
assert(e1 == d2); // 常に真、エラー性動作
5863-
&lt;/code&gt;&lt;/pre&gt;</summary>
5864-
5865-
<author>
5866-
<name>Akira Takahashi</name>
5867-
<email>faithandbrave@gmail.com</email>
5868-
</author>
5869-
</entry>
5870-
58715916
</feed>

sitemap.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1130,7 +1130,7 @@
11301130

11311131
<url>
11321132
<loc>https://cpprefjp.github.io/lang/cpp20/deprecate_arithmetic_conversion_on_enumerations.html</loc>
1133-
<lastmod>2024-11-11T17:15:48+09:00</lastmod>
1133+
<lastmod>2024-11-13T12:55:56+09:00</lastmod>
11341134
<changefreq>daily</changefreq>
11351135
<priority>0.7</priority>
11361136
</url>
@@ -1823,7 +1823,7 @@
18231823

18241824
<url>
18251825
<loc>https://cpprefjp.github.io/lang/cpp26/remove_deprecated_arithmetic_conversion_on_enumerations.html</loc>
1826-
<lastmod>2024-11-11T17:15:48+09:00</lastmod>
1826+
<lastmod>2024-11-13T12:55:56+09:00</lastmod>
18271827
<changefreq>daily</changefreq>
18281828
<priority>0.7</priority>
18291829
</url>

0 commit comments

Comments
 (0)