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
cc371201c3e1d1d76093b5894de202ec6fa1880f
clang-p2996
/
libcxx
/
test
/
std
/
utilities
/
function.objects
/
arithmetic.operations
/
minus.pass.cpp
Marshall Clow
66369c03a3
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.
...
llvm-svn: 225375
2015-01-07 20:31:06 +00:00
1.1 KiB
Raw
Blame
History
View Raw
Reference in New Issue
View Git Blame
Copy Permalink