This website requires JavaScript.
Explore
Help
Register
Sign In
caio
/
clang-p2996
Watch
1
Star
0
Fork
0
You've already forked clang-p2996
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
Files
c6c7bfc4d2bc37f55f57504c19d47deb7645dd76
clang-p2996
/
libcxx
/
test
/
std
/
utilities
/
function.objects
/
negators
History
…
..
binary_negate.pass.cpp
In C++03, a bunch of the arithmetic/logical/comparison functors (such as add/equal_to/logical_or) were defined as deriving from binary_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.
2015-01-07 20:31:06 +00:00
not1.pass.cpp
Move test into test/std subdirectory.
2014-12-20 01:40:03 +00:00
not2.pass.cpp
Move test into test/std subdirectory.
2014-12-20 01:40:03 +00:00
unary_negate.pass.cpp
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.
2015-01-07 21:51:30 +00:00