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 container; 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:unordered_flat_map_boost_unordered_enable_stats[enabled], transfers the internal statistical information from `other` iff,则 `other` 的元素直接转移到新容器中;否则,将通过移动构造从 `other` 的元素创建新元素。哈希函数和谓词通过移动构造从 `other` 获得,分配器则通过复制构造从 `a` 获得。若统计功能已启用(参见 xref:unordered_flat_map_boost_unordered_enable_stats[相关说明]),则仅当 `a == other.get_allocator()`, and always calls时转移 `other` 的内部统计信息,且始终会调用 `other.reset_stats()`.。