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 17:06:05 +00:00
Code
Issues
Projects
Releases
Wiki
Activity
llvm-project
/
libcxx
/
test
/
std
/
utilities
/
function.objects
History
Marshall Clow
a257ab0803
In early C++11 standard drafts, std::function derived from std::unary_function or std::binary_function if there was only one (or two) parameters. Before C++11 shipped, this restiction was lifted, but libc++ still does this (which is fine). However, the tests still check for this outdated requiremnt. Change then to check for the nested typedefs instead (which are still required by the standard). No change to the library.
...
llvm-svn: 225430
2015-01-08 06:36:41 +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
In early C++11 standard drafts, std::function derived from std::unary_function or std::binary_function if there was only one (or two) parameters. Before C++11 shipped, this restiction was lifted, but libc++ still does this (which is fine). However, the tests still check for this outdated requiremnt. Change then to check for the nested typedefs instead (which are still required by the standard). No change to the library.
2015-01-08 06:36:41 +00:00
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
Missed a typename
2015-01-07 22:26:48 +00:00
version.pass.cpp
…