Add prototype of move assignment

This commit is contained in:
Christian Mazakas
2023-04-26 12:53:49 -07:00
parent d7acb7e8b8
commit 212c6a1e4d
3 changed files with 224 additions and 2 deletions

View File

@@ -258,6 +258,15 @@ namespace boost {
return *this;
}
concurrent_flat_map& operator=(concurrent_flat_map&& rhs)
noexcept(std::allocator_traits<Allocator>::is_always_equal::value ||
std::allocator_traits<
Allocator>::propagate_on_container_move_assignment::value)
{
table_ = std::move(rhs.table_);
return *this;
}
/// Capacity
///