Index: styleguide/c++/c++11.html |
diff --git a/styleguide/c++/c++11.html b/styleguide/c++/c++11.html |
index 6f1262b11a224cd0c1f3c1ee41fe3b527c2e9df8..1ffc465db94014aa862d945a7d08492f41b26c3f 100644 |
--- a/styleguide/c++/c++11.html |
+++ b/styleguide/c++/c++11.html |
@@ -454,7 +454,8 @@ template <typename T><br/>void Function(T&& t) { ... }</code></td> |
<td>All C++11 features in <code><tuple></code>, e.g. <code>std::tie</code> and <code>std::tuple</code>.</td> |
<td>A fixed-size ordered collection of values of mixed types</td> |
<td><a href="http://en.cppreference.com/w/cpp/header/tuple"><tuple></a></td> |
-<td>Prefer <code>std::tuple</code> over <a href="https://crbug.com/554987"><code>base::Tuple</code></a>.</td> |
danakj
2016/06/22 22:37:49
I think you want to keep this line, we do prefer u
tzik
2016/06/23 04:37:29
We already replaced all usage of base::Tuple with
danakj
2016/06/23 20:41:05
Ooh, okay. Woops.
|
+<td>Use <code>base::get</code> instead of <code>std::get</code> in case the <code>std::tuple</code> may be a rvalue-reference. |
+<code>std::get</code> in <=libstdc++-4.6 misses an overload for rvalue-reference of a tuple, and <code>base::get</code> complements it. </td> |
</tr> |
<tr> |