Sfoglia il codice sorgente

Fix inconsistency in tuple's SFINAE. Patch from Andrey Khalyavin"

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@294106 91177308-0d34-0410-b5e6-96231b3b80d8
Eric Fiselier 8 anni fa
parent
commit
236b752f2b
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      include/tuple

+ 1 - 1
include/tuple

@@ -751,7 +751,7 @@ public:
                          _CheckArgsConstructor<
                             !_EnableImplicitReducedArityExtension
                             && sizeof...(_Up) < sizeof...(_Tp)
-                            && !_PackExpandsToThisTuple<_Up...>()
+                            && !_PackExpandsToThisTuple<_Up...>::value
                          >::template __enable_implicit<_Up...>(),
                          bool
                       >::type = false