Fixes to get libc++ building on sun solaris. Patch from C Bergstrom.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@222794 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Fiselier
2014-11-25 21:57:41 +00:00
parent bd0000808d
commit 6cb69ffa0a
6 changed files with 13 additions and 4 deletions

View File

@@ -376,9 +376,9 @@ template <class ..._Tp>
_LIBCPP_INLINE_VISIBILITY
void __swallow(_Tp&&...) _NOEXCEPT {}
template <bool ..._B>
template <bool ..._Pred>
struct __all
: is_same<__all<_B...>, __all<(_B, true)...>>
: is_same<__all<_Pred...>, __all<(_Pred, true)...>>
{ };
template <class _Tp>