Solve the errors
Error 1 error C2681: 'add_rvalue_reference<_Tp*>::type' : invalid expression type for dynamic_cast c:\libcxx\include\type_traits This is one more step getting libcxx compile under Visual C++. The patch is #if defined(_LIBCPP_MSVC) so will affect only this build. When libcxx can be compiled, it will probably require the current version or maybe even the next Update of Visual C++ 2013. Patch by G M! git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@201844 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f84f6118b3
commit
0648cc5316
@ -946,7 +946,7 @@ template <class _Tp> struct _LIBCPP_TYPE_VIS_ONLY is_empty : public __libcpp_emp
|
||||
|
||||
// is_polymorphic
|
||||
|
||||
#if __has_feature(is_polymorphic)
|
||||
#if __has_feature(is_polymorphic) || defined(_LIBCPP_MSVC)
|
||||
|
||||
template <class _Tp>
|
||||
struct _LIBCPP_TYPE_VIS_ONLY is_polymorphic
|
||||
|
Loading…
x
Reference in New Issue
Block a user