Loading…
|
Translation uploaded |
|
|
String added in the repository |
|
Things to check
Flags
safe-html, strict-same
Loading…
|
Translation uploaded |
|
|
String added in the repository |
|
&& other) noexcept(boost::allocator_traits<Aallocator>::is_always_equal::value || boost::allocator_traits<Aallocator>::propagate_on_container_move_assignment::value); ```The move assignment operator. Destroys previously existing elements, swaps the hash function and predicate from `other`, and move-assigns the allocator from `other` if `Alloc::propagate_on_container_move_assignment` exists and `Alloc::propagate_on_container_move_assignment::value` is `true`. If at this point the allocator is equal to `other.get_allocator()`, the internal bucket array of `other` is transferred directly to `*this`; otherwise, inserts move-constructed copies of the elements of `other`. If statistics are移动赋值运算符。销毁先前已存在的元素,交换当前对象与 other 的哈希函数和谓词;若 Alloc::propagate_on_container_move_assignment 存在且其值为 true,则从 other 移动赋值分配器。若此时分配器与 other.get_allocator() 相等,other 的内部桶数组将直接转移给 *this;否则,插入由 other 元素移动构造的副本。若统计功能已通过 xref:concurrent_flat_set_boost_unordered_enable_stats [enabled]
, transfers the internal statistical information from `other` iff the final allocator is equal to `other.get_allocator()`, and always calls `other.reset_stats()`.,仅当最终分配器与 other.get_allocator() 相等时,从 other 转移内部统计信息,且始终调用 other.reset_stats()。</allocator></allocator>