forked from boostorg/unordered
Unordered: Starting to implement allocator propagation.
[SVN r73679]
This commit is contained in:
1 parent
99e6bef4ef
commit
eacca89d4e
4 files changed
+17
-4
No files matched your search
@@ -103,7 +103,16 @@ namespace boost { namespace unordered { namespace detail {
|
||||
allocators_(a,a)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
// TODO: Need to move allocators_, not copy. But compressed_pair
|
||||
// doesn't support move parameters.
|
||||
buckets(buckets& b, move_tag m)
|
||||
: buckets_(),
|
||||
bucket_count_(b.bucket_count),
|
||||
allocators_(b.allocators_)
|
||||
{
|
||||
}
|
||||
|
||||
inline ~buckets()
|
||||
{
|
||||
if(this->buckets_) { this->delete_buckets(); }
|
||||
|
||||
Reference in new issue
Block a user