This website requires JavaScript.
Explore
Help
Sign In
mirrors
/
llvm-project
Watch
0
Star
0
Fork
0
You've already forked llvm-project
mirror of
https://github.com/llvm/llvm-project.git
synced
2025-05-02 22:56:06 +00:00
Code
Issues
Projects
Releases
Wiki
Activity
llvm-project
/
libcxx
/
test
/
std
/
utilities
/
function.objects
History
Marshall Clow
d95510ebba
libc++ implements its' hash objects as deriving from std::unary_function, and the tests test for that. STL @ MS pointed out that the standard doesn't requie these objects to derive from unary_function, and so the tests should not require that either. Change the tests to check for the embedded typedefs - which ARE required. No change to the library.
...
llvm-svn: 225403
2015-01-07 21:53:23 +00:00
..
arithmetic.operations
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
bind
Prevent ill-formed instantiation of __invoke_of<...> during the evaluation of a bind expression. Fixes PR22003.
2014-12-23 05:54:34 +00:00
bitwise.operations
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
comparisons
Missed one comparison test in r225375
2015-01-07 20:40:28 +00:00
func.def
…
func.memfn
…
func.require
…
func.wrap
…
logical.operations
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
negators
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
refwrap
…
unord.hash
libc++ implements its' hash objects as deriving from std::unary_function, and the tests test for that. STL @ MS pointed out that the standard doesn't requie these objects to derive from unary_function, and so the tests should not require that either. Change the tests to check for the embedded typedefs - which ARE required. No change to the library.
2015-01-07 21:53:23 +00:00
version.pass.cpp
…