Unordered: Starting to implement allocator propagation.

[SVN r73679]
This commit is contained in:
Daniel James committed 2011-08-11 21:18:19 +00:00
1 parent 99e6bef4ef
commit eacca89d4e
4 files changed
+17 -4

No files matched your search

@@ -34,7 +34,9 @@ namespace boost { namespace unordered { namespace detail {
hasher const& hf, key_equal const& eq, value_allocator const& a)
: table_base(n, hf, eq, a) {}
equivalent_table(equivalent_table const& x)
: table_base(x, x.node_alloc()) {}
: table_base(x,
allocator_traits<node_allocator>::
select_on_container_copy_construction(x.node_alloc())) {}
equivalent_table(equivalent_table const& x,
value_allocator const& a)
: table_base(x, a) {}