commit | ec749b1eeaa49a45973e651e870ed16531c8b0d9 | [log] [tgz] |
---|---|---|
author | tzik <[email protected]> | Fri Jun 24 00:33:47 2016 |
committer | Commit bot <[email protected]> | Fri Jun 24 00:35:37 2016 |
tree | 008e3bc474a9ae7968e6a5d9ca7388efec53bdf9 | |
parent | c03d2c9070ba93a5795cdd62f487ffce4f705be5 [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}