diff --git a/include/type_traits b/include/type_traits index 59b07b326..26c37dfa0 100644 --- a/include/type_traits +++ b/include/type_traits @@ -1771,8 +1771,10 @@ class _LIBCPP_VISIBLE result_of<_Fn(_A0, _A1, _A2)> // main is_constructible test +template struct __select_2nd { typedef T type; }; + template -decltype(_VSTD::move(_Tp(_VSTD::declval<_Args>()...)), true_type()) +typename __select_2nd()...))), true_type>::type __is_constructible_test(_Tp&&, _Args&& ...); template