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_map_boost_unordered_enable_stats[enabled], transfers the internal statistical information from `other` iff,则将 `other` 的元素直接转移到新哈希表中;否则从 `other` 的元素移动构造出新元素。哈希函数与谓词从 `other` 移动构造而来,分配器从 `a` 复制构造而来。若启用了 xref:concurrent_node_map_boost_unordered_enable_stats[统计功能],仅当 `a == other.get_allocator()`
, and always calls时从 `other` 转移内部统计信息,且始终调用 `other.reset_stats()`.。