abseil / abseil/abseil.github.io

Update previous tips to reflect guaranteed copy elision in C++17

オープン
#483 コメント 0 件 リアクション 0 件 担当者 1 名 @derekmauro が担当を希望しています GitHub で見る
主要言語
HTML
スター
169
フォーク
124
PR マージ指標
30日以内にマージされた PR はありません

説明

Many early tips talk about RVO, copy elision etc., but make no mention of C++17. As a result, they often say things like, "Strictly speaking the compiler is not required to perform copy elision".

Now that [C++17 guarantees copy elision in certain situations](https://en.cppreference.com/w/cpp/language/copy_elision), a note can be added to the tips similar to the one given for number 11. It can tell readers to refer to number 166.

These are the tips which I found mention copy elision and were made before C++17:
1. Number [11](https://abseil.io/tips/11)
2. Number [24](https://abseil.io/tips/24)
3. Number [77](https://abseil.io/tips/77)
4. Number [101](https://abseil.io/tips/101)
5. Number [117](https://abseil.io/tips/117)
6. Number [120](https://abseil.io/tips/120)

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。