commit | b72412d276b6d43ee2f84f94417946e8abe0447a | [log] [tgz] |
---|---|---|
author | Marshall Clow <mclow.lists@gmail.com> | Thu Feb 07 19:03:48 2019 +0000 |
committer | Marshall Clow <mclow.lists@gmail.com> | Thu Feb 07 19:03:48 2019 +0000 |
tree | f79d8d2a0f28cc9ea9e66d4a7dec4be8eb50de76 | |
parent | 0c922504853a5ef4c8ded9cedefd86ae1875fcdb [diff] |
Add static_asserts to tuple's comparison operators to enforce the requirement that the tuples be the same size. See PR39183 for an example where we give unexpected results for this bad input case. With this change, we will reject it at compile-time git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@353450 91177308-0d34-0410-b5e6-96231b3b80d8