Fix breakage that I introduced in r238848
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@238870 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f0324bcaa1
commit
c2a3137671
@ -171,12 +171,20 @@ struct __get_poc_swap<_A0, _Allocs...>
|
|||||||
__get_poc_swap<_Allocs...>::value;
|
__get_poc_swap<_Allocs...>::value;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
template <class ..._Allocs> struct __get_is_always_equal;
|
||||||
|
|
||||||
|
template <class _A0>
|
||||||
|
struct __get_is_always_equal<_A0>
|
||||||
|
{
|
||||||
|
static const bool value = allocator_traits<_A0>::is_always_equal::value;
|
||||||
|
};
|
||||||
|
|
||||||
template <class _A0, class ..._Allocs>
|
template <class _A0, class ..._Allocs>
|
||||||
struct __get_poc_always_equal<_A0, _Allocs...>
|
struct __get_is_always_equal<_A0, _Allocs...>
|
||||||
{
|
{
|
||||||
static const bool value =
|
static const bool value =
|
||||||
allocator_traits<_A0>::is_always_equal::value ||
|
allocator_traits<_A0>::is_always_equal::value ||
|
||||||
__get_poc_always_equal<_Allocs...>::value;
|
__get_is_always_equal<_Allocs...>::value;
|
||||||
};
|
};
|
||||||
|
|
||||||
template <class ..._Allocs>
|
template <class ..._Allocs>
|
||||||
@ -409,7 +417,7 @@ public:
|
|||||||
typedef integral_constant
|
typedef integral_constant
|
||||||
<
|
<
|
||||||
bool,
|
bool,
|
||||||
__get_poc_always_equal<outer_allocator_type, _InnerAllocs...>::value
|
__get_is_always_equal<outer_allocator_type, _InnerAllocs...>::value
|
||||||
> is_always_equal;
|
> is_always_equal;
|
||||||
|
|
||||||
template <class _Tp>
|
template <class _Tp>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user