diff options
author | Marshall Clow <mclow.lists@gmail.com> | 2015-01-07 21:51:30 +0000 |
---|---|---|
committer | Marshall Clow <mclow.lists@gmail.com> | 2015-01-07 21:51:30 +0000 |
commit | 601fa8d824de4cc2cbc42c422b25fbdfe3b7dd32 (patch) | |
tree | bb0d04a883c0f7b2f3c6275ac82a48ba134e1ed6 /libcxx/test/std/strings/basic.string.hash/strings.pass.cpp | |
parent | 136ea3f97b64f82666cb6c8803321e7160af16c7 (diff) | |
download | bcm5719-llvm-601fa8d824de4cc2cbc42c422b25fbdfe3b7dd32.tar.gz bcm5719-llvm-601fa8d824de4cc2cbc42c422b25fbdfe3b7dd32.zip |
In C++03, a bunch of the arithmetic/logical/comparison functors (such as negate/bit_not.pass/logical_not) were defined as deriving from unary_funtion. That restriction was removed in C++11, but the tests still check for this. Change the test to look for the embedded types first_argument/second_argument/result_type. No change to the library, just more standards-compliant tests. Thanks to STL @ Microsoft for the suggestion.
llvm-svn: 225402
Diffstat (limited to 'libcxx/test/std/strings/basic.string.hash/strings.pass.cpp')
0 files changed, 0 insertions, 0 deletions