This website requires JavaScript.
Explore
Help
Register
Sign In
carbon-language
/
carbon-lang
Watch
1
Star
0
Fork
0
mirror of
https://github.com/carbon-language/carbon-lang.git
synced
2026-12-06 02:41:20 +00:00
Code
Issues
Packages
Projects
Releases
10
Wiki
Activity
Files
eb9bfac876d21bd7d0f35cc233bd4d5cb303e25c
carbon-lang
/
libcxx
/
test
/
std
/
utilities
/
function.objects
/
arithmetic.operations
T
History
Marshall Clow
601fa8d824
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
2015-01-07 21:51:30 +00:00
..
divides.pass.cpp
…
minus.pass.cpp
…
modulus.pass.cpp
…
multiplies.pass.cpp
…
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
plus.pass.cpp
…
transparent.pass.cpp
…