Fix PR27538. Remove __is_convertible specializations for array and function types.
authorEric Fiselier <eric@efcs.ca>
Tue, 3 May 2016 04:26:02 +0000 (04:26 +0000)
committerEric Fiselier <eric@efcs.ca>
Tue, 3 May 2016 04:26:02 +0000 (04:26 +0000)
commit95b632d4b9bfeec40e9ef9c66c9adf29c72f092c
tree433fee9dbfef454cc7472622ec392761b3a97f4f
parentcd777c8b35555d5ee91057fb738eda9ebd733b06
Fix PR27538. Remove __is_convertible specializations for array and function types.

This patch fixes a bunch of bugs in the fallback implementation of
is_convertible, which is used by GCC. Removing the "__is_convertible"
specializations for array/function types we fallback on the SFINAE test,
which is more correct.

See https://llvm.org/bugs/show_bug.cgi?id=27538

llvm-svn: 268359
libcxx/include/type_traits
libcxx/test/std/utilities/meta/meta.rel/is_convertible.pass.cpp