Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[C++26][言語機能] 非推奨だった配列の比較を削除 #1375

Open
faithandbrave opened this issue Dec 19, 2024 · 2 comments
Open

Comments

@faithandbrave
Copy link
Member

C++20で非推奨となった記事がないので、それも調べて書く (おそらく一貫比較のあたり)

@yohhoy
Copy link
Member

yohhoy commented Dec 20, 2024

C++20 P1120R0 の一部として配列比較が非推奨化されたようです。

4.1 History
Comparison of array types was deprecated by C++20 as part of the effort to make the new spaceship operator
do the right thing, adopted by paper [P1120R0]. [...]

となると、列挙値から算術型への暗黙変換を非推奨化 ページ側は単に書き漏れ?

@faithandbrave
Copy link
Member Author

機能削除が個別に行われるので、非推奨ページは分けたほうがよいかと思って「列挙値から算術型への暗黙変換を非推奨化」が単体としてありますね。。。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants