Refactor is_member_function_pointer to use is_function and not __member_function_traits.
authorEric Fiselier <eric@efcs.ca>
Sat, 13 Jun 2015 00:33:13 +0000 (00:33 +0000)
committerEric Fiselier <eric@efcs.ca>
Sat, 13 Jun 2015 00:33:13 +0000 (00:33 +0000)
commit8aba6a6db4835fbb9f3d789edff3f92b44eb3850
tree8236272d1a9aaa497159c57288d775b2273e96f6
parent776cc6e48f6954988bfb86c1854c14ba93d86c5e
Refactor is_member_function_pointer to use is_function and not __member_function_traits.

Replacing the dependancy on __member_function_traits with is_function allows
is_member_function_pointer to work more often. In particular it allows it to
work when we don't have variadic templates but the function has an arity > 3.

llvm-svn: 239649
libcxx/include/type_traits
libcxx/test/std/utilities/meta/meta.unary/meta.unary.cat/member_function_pointer.pass.cpp