commit | 6fc46bb6684e6055b2df624778da531c9888f002 | [log] [tgz] |
---|---|---|
author | tzik <tzik@chromium.org> | Fri Jun 24 09:33:47 2016 +0900 |
committer | Qijiang Fan <fqj@google.com> | Fri Jun 05 03:32:48 2020 +0900 |
tree | 820882cd473849501469eefecd6e5f1623bde8b7 | |
parent | 82158b4ee8326474bb4c50948e3876be6d2157ae [diff] |
Add base::get to support rvalue-reference tuple std::get in libstdc++4.6 doesn't have a overload for rvalue-reference tuple. That implies std::get<0>(std::make_tuple(1)) is `const int&`, instead of `int&&`. This CL add base::get with correct type. Review-Url: https://codereview.chromium.org/2047013002 Cr-Commit-Position: refs/heads/master@{#401758} CrOS-Libchrome-Original-Commit: ec749b1eeaa49a45973e651e870ed16531c8b0d9