Eric Fiselier db8c4fd8c7 Merge C++03 and C++11 implementations of mem_fn and __mem_fn.
The implementation of mem_fn doesn't actually require any  C++11 support.
For some reason there were 17 overloads for mem_fn in C++03 when only one
is needed. This patch removes the extra overloads and uses the same implementation
of mem_fn in C++03 and C++11.

__mem_fn does require variadics to implement the call operator. Instead of
having two entirely different implementations of the __mem_fn struct, this patch
uses the same __mem_fn struct but provides different call operators when
variadics are not available.

The only thing left in <__functional_03> is the C++03 implementation of
std::function.


git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@242959 91177308-0d34-0410-b5e6-96231b3b80d8
2015-07-22 22:43:27 +00:00
2015-07-22 04:14:38 +00:00
2015-03-27 06:04:37 +00:00
2015-07-21 14:29:31 +00:00
2015-02-26 00:48:22 +00:00
2015-03-12 20:13:11 +00:00
Description
No description provided
15 MiB
Languages
C++ 98.1%
HTML 1.2%
Python 0.4%
CMake 0.2%