Loading…
|
Translation uploaded |
|
|
String added in the repository |
|
Flags
safe-html, strict-same
Loading…
|
Translation uploaded |
|
|
String added in the repository |
|
If若 `a == other.get_allocator()`, the elements of `other` are transferred directly to the new table; otherwise, elements are moved-constructed from those of `other`. The hash function and predicate are moved-constructed from `other`, and the allocator is copy-constructed from `a`. If statistics are xref:concurrent_node_set_boost_unordered_enable_stats[enabled], transfers the internal statistical information from `other` iff `a == other.get_allocator()`, and always calls,则 `other` 的元素会直接转移到新容器;否则元素从 `other` 移动构造而来。哈希函数与谓词从 `other` 移动构造,分配器从 `a` 复制构造。
若启用了统计功能:仅当 `a == other.get_allocator()` 时,从 `other` 转移内部统计信息;**始终调用** `other.reset_stats()`
.。