We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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からoperator[](int i);のような関数の「i < sizeであること」のような事前条件が、「Hardened preconditions (堅牢化された事前条件)」という項目で記述されるようになります。
operator[](int i);
i < size
これはassertがリリースモードで無効になるこれまでの仕組みに対して、Clangのlibc++がHardening Modesというのを追加し、none, fast, extensive, debugのような堅牢化レベルを導入した経緯からきてるものです。
つきましては、cpprefjpの対応として、以下の作業が必要になります:
訳語以外は作業するだけですので一旦訳語を相談させてください。おそらく以下のどちらかになるかと思いますが、どちらがよいでしょうか?
ほかにも提案あればいただきたいです。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
C++26から
operator[](int i);
のような関数の「i < size
であること」のような事前条件が、「Hardened preconditions (堅牢化された事前条件)」という項目で記述されるようになります。これはassertがリリースモードで無効になるこれまでの仕組みに対して、Clangのlibc++がHardening Modesというのを追加し、none, fast, extensive, debugのような堅牢化レベルを導入した経緯からきてるものです。
つきましては、cpprefjpの対応として、以下の作業が必要になります:
訳語以外は作業するだけですので一旦訳語を相談させてください。おそらく以下のどちらかになるかと思いますが、どちらがよいでしょうか?
ほかにも提案あればいただきたいです。
The text was updated successfully, but these errors were encountered: