Skip to content

Commit

Permalink
言語機能の注意文章を更新 #1231
Browse files Browse the repository at this point in the history
  • Loading branch information
faithandbrave committed Nov 13, 2024
1 parent 52896ca commit 165353e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions lang/cpp20/deprecate_arithmetic_conversion_on_enumerations.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ int x = +f - e; // OK
```
## 関連項目
## <a id="relative-page" href="#relative-page">関連項目</a>
- [C++20 `<=>`/`==`による比較演算子の自動定義](consistent_comparison.md)
- [C++26 非推奨となっていた列挙型の算術変換を削除](/lang/cpp26/remove_deprecated_arithmetic_conversion_on_enumerations.md)
## 参照
- [P1120R0 Consistency improvements for `<=>` and other comparison operators](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p1120r0.html)
- [P1120R0 Consistency improvements for `<=>` and other comparison operators](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p1120r0.html)
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<!-- start lang caution -->

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

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

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

0 comments on commit 165353e

Please sign in to comment.