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

+3 -1
View File
@@ -36,7 +36,9 @@ namespace boost { namespace unordered { namespace detail {
value_allocator const& a)
: table_base(n, hf, eq, a) {}
unique_table(unique_table const& x)
: table_base(x, x.node_alloc()) {}
: table_base(x,
allocator_traits<node_allocator>::
select_on_container_copy_construction(x.node_alloc())) {}
unique_table(unique_table const& x, value_allocator const& a)
: table_base(x, a) {}
unique_table(unique_table& x, move_tag m)