Skip to content

Commit 165353e

Browse files
committed
言語機能の注意文章を更新 #1231
1 parent 52896ca commit 165353e

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

lang/cpp20/deprecate_arithmetic_conversion_on_enumerations.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ int x = +f - e; // OK
2222
```
2323
2424
25-
## 関連項目
25+
## <a id="relative-page" href="#relative-page">関連項目</a>
2626
- [C++20 `<=>`/`==`による比較演算子の自動定義](consistent_comparison.md)
2727
- [C++26 非推奨となっていた列挙型の算術変換を削除](/lang/cpp26/remove_deprecated_arithmetic_conversion_on_enumerations.md)
2828
2929
3030
## 参照
31-
- [P1120R0 Consistency improvements for `<=>` and other comparison operators](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p1120r0.html)
31+
- [P1120R0 Consistency improvements for `<=>` and other comparison operators](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p1120r0.html)

lang/cpp26/remove_deprecated_arithmetic_conversion_on_enumerations.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
<!-- start lang caution -->
55

6-
このページはC++20に採用された言語機能の変更を解説しています
6+
このページはC++26に採用される見込みの言語機能の変更を解説しています
77

88
のちのC++規格でさらに変更される場合があるため[関連項目](#relative-page)を参照してください。
99

@@ -22,9 +22,9 @@ int x = +f - e; // OK
2222
```
2323
2424
25-
## 関連項目
25+
## <a id="relative-page" href="#relative-page">関連項目</a>
2626
- [C++20 列挙値から算術型への暗黙変換を非推奨化](/lang/cpp20/deprecate_arithmetic_conversion_on_enumerations.md)
2727
2828
2929
## 参照
30-
- [P2864R2 Remove Deprecated Arithmetic Conversion on Enumerations From C++26](https://open-std.org/jtc1/sc22/wg21/docs/papers/2023/p2864r2.pdf)
30+
- [P2864R2 Remove Deprecated Arithmetic Conversion on Enumerations From C++26](https://open-std.org/jtc1/sc22/wg21/docs/papers/2023/p2864r2.pdf)

0 commit comments

Comments
 (0)