Skip to content
Snippets Groups Projects
Commit b3048116 authored by Howard Hinnant's avatar Howard Hinnant
Browse files

Richard Smith: This fixes a problem in std::is_constructible for incomplete...

Richard Smith:  This fixes a problem in std::is_constructible for incomplete types, and those types with a user-defined operator,().

llvm-svn: 167233
parent 973aa207
No related branches found
No related tags found
No related merge requests found
......@@ -1771,8 +1771,10 @@ class _LIBCPP_VISIBLE result_of<_Fn(_A0, _A1, _A2)>
// main is_constructible test
template<typename, typename T> struct __select_2nd { typedef T type; };
template <class _Tp, class ..._Args>
decltype(_VSTD::move(_Tp(_VSTD::declval<_Args>()...)), true_type())
typename __select_2nd<decltype(_VSTD::move(_Tp(_VSTD::declval<_Args>()...))), true_type>::type
__is_constructible_test(_Tp&&, _Args&& ...);
template <class ..._Args>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment