Skip to content

Commit

Permalink
[libc++] [test] Qualify calls to std::get(tuple). NFC.
Browse files Browse the repository at this point in the history
It actually *is* important (for structured bindings) that `get(tuple)`
be ADL-able; but that's not the point of this test in particular.

Reviewed as part of D119860.
  • Loading branch information
Arthur O'Dwyer committed Feb 16, 2022
1 parent 79dc755 commit 37f7e31
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -35,8 +35,8 @@ constexpr bool test() {
assert(aPair.first.base() == globalBuff);
assert(aPair.second.base() == globalBuff + 8);
std::tuple<ForwardIter, ForwardIter> aTuple = a;
assert(get<0>(aTuple).base() == globalBuff);
assert(get<1>(aTuple).base() == globalBuff + 8);
assert(std::get<0>(aTuple).base() == globalBuff);
assert(std::get<1>(aTuple).base() == globalBuff + 8);

return true;
}
Expand Down

0 comments on commit 37f7e31

Please sign in to comment.