[libcxx] r294106 - Fix inconsistency in tuple's SFINAE. Patch from Andrey Khalyavin"
Eric Fiselier via cfe-commits
cfe-commits at lists.llvm.org
Sat Feb 4 14:57:01 PST 2017
Author: ericwf
Date: Sat Feb 4 16:57:01 2017
New Revision: 294106
URL: http://llvm.org/viewvc/llvm-project?rev=294106&view=rev
Log:
Fix inconsistency in tuple's SFINAE. Patch from Andrey Khalyavin"
Modified:
libcxx/trunk/include/tuple
Modified: libcxx/trunk/include/tuple
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/tuple?rev=294106&r1=294105&r2=294106&view=diff
==============================================================================
--- libcxx/trunk/include/tuple (original)
+++ libcxx/trunk/include/tuple Sat Feb 4 16:57:01 2017
@@ -751,7 +751,7 @@ public:
_CheckArgsConstructor<
!_EnableImplicitReducedArityExtension
&& sizeof...(_Up) < sizeof...(_Tp)
- && !_PackExpandsToThisTuple<_Up...>()
+ && !_PackExpandsToThisTuple<_Up...>::value
>::template __enable_implicit<_Up...>(),
bool
>::type = false
More information about the cfe-commits
mailing list