mirror of
https://github.com/boostorg/unordered.git
synced 2025-11-12 05:29:59 +01:00
Stricter about rebinding the allocator
This commit is contained in:
@@ -2484,10 +2484,10 @@ struct table : boost::unordered::detail::functions<typename Types::hasher,
|
||||
functions;
|
||||
typedef typename functions::set_hash_functions set_hash_functions;
|
||||
|
||||
typedef typename Types::allocator allocator;
|
||||
typedef typename boost::unordered::detail::rebind_wrap<allocator,
|
||||
typedef typename Types::value_allocator value_allocator;
|
||||
typedef typename boost::unordered::detail::rebind_wrap<value_allocator,
|
||||
node>::type node_allocator;
|
||||
typedef typename boost::unordered::detail::rebind_wrap<allocator,
|
||||
typedef typename boost::unordered::detail::rebind_wrap<value_allocator,
|
||||
bucket>::type bucket_allocator;
|
||||
typedef boost::unordered::detail::allocator_traits<node_allocator>
|
||||
node_allocator_traits;
|
||||
|
||||
Reference in New Issue
Block a user