[libcxx-commits] [libcxx] r367762 - Revert accidental change to __member_pointer_traits_imp.
Eric Fiselier via libcxx-commits
libcxx-commits at lists.llvm.org
Sat Aug 3 12:03:22 PDT 2019
Author: ericwf
Date: Sat Aug 3 12:03:22 2019
New Revision: 367762
URL: http://llvm.org/viewvc/llvm-project?rev=367762&view=rev
Log:
Revert accidental change to __member_pointer_traits_imp.
A previous patch accidentally made the primary template
an incomplete type. This broke some C++03 constructs.
Modified:
libcxx/trunk/include/type_traits
Modified: libcxx/trunk/include/type_traits
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/type_traits?rev=367762&r1=367761&r2=367762&view=diff
==============================================================================
--- libcxx/trunk/include/type_traits (original)
+++ libcxx/trunk/include/type_traits Sat Aug 3 12:03:22 2019
@@ -2274,7 +2274,9 @@ __decay_copy(_Tp&& __t)
}
template <class _MP, bool _IsMemberFunctionPtr, bool _IsMemberObjectPtr>
-struct __member_pointer_traits_imp;
+struct __member_pointer_traits_imp
+{
+};
template <class _Rp, class _Class, class ..._Param>
struct __member_pointer_traits_imp<_Rp (_Class::*)(_Param...), true, false>
More information about the libcxx-commits
mailing list