summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/strings/basic.string.hash/strings.pass.cpp
diff options
context:
space:
mode:
authorMarshall Clow <mclow.lists@gmail.com>2015-01-07 21:51:30 +0000
committerMarshall Clow <mclow.lists@gmail.com>2015-01-07 21:51:30 +0000
commit601fa8d824de4cc2cbc42c422b25fbdfe3b7dd32 (patch)
treebb0d04a883c0f7b2f3c6275ac82a48ba134e1ed6 /libcxx/test/std/strings/basic.string.hash/strings.pass.cpp
parent136ea3f97b64f82666cb6c8803321e7160af16c7 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud