Reimplement is_constructible fallback implementation. Fixes PR21574.
authorEric Fiselier <eric@efcs.ca>
Wed, 20 Jul 2016 05:01:24 +0000 (05:01 +0000)
committerEric Fiselier <eric@efcs.ca>
Wed, 20 Jul 2016 05:01:24 +0000 (05:01 +0000)
commitb66b6210381232bd611dd8bcba9dbd5b0560a4a6
tree99ef746dc5cc056593905aab5420d29a1a3e8b10
parenteaf238d4947ea17ef465ab24716ccefcd7a83cda
Reimplement is_constructible fallback implementation. Fixes PR21574.

The previous implementation relied highly on specializations to handle
special cases. This new implementation lets the compiler do the work when possible.

llvm-svn: 276084
libcxx/include/type_traits
libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/is_constructible.pass.cpp
libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/is_default_constructible.pass.cpp