mirror of
https://github.com/boostorg/unordered.git
synced 2025-07-31 11:57:15 +02:00
fixed using placement
This commit is contained in:
@ -503,6 +503,7 @@ class table
|
|||||||
static constexpr auto N=group_type::N;
|
static constexpr auto N=group_type::N;
|
||||||
using size_policy=pow2_size_policy;
|
using size_policy=pow2_size_policy;
|
||||||
using prober=pow2_quadratic_prober;
|
using prober=pow2_quadratic_prober;
|
||||||
|
using alloc_traits=std::allocator_traits<Allocator>;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
using key_type=typename type_policy::key_type;
|
using key_type=typename type_policy::key_type;
|
||||||
@ -797,7 +798,6 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
using alloc_traits=std::allocator_traits<Allocator>;
|
|
||||||
using group_allocator=
|
using group_allocator=
|
||||||
typename alloc_traits::template rebind_alloc<group_type>;
|
typename alloc_traits::template rebind_alloc<group_type>;
|
||||||
using group_alloc_traits=std::allocator_traits<group_allocator>;
|
using group_alloc_traits=std::allocator_traits<group_allocator>;
|
||||||
|
Reference in New Issue
Block a user