Add copy_tests

This commit is contained in:
Christian Mazakas
2022-09-29 13:46:03 -07:00
parent 3582ac91d7
commit 71b64139da
4 changed files with 63 additions and 17 deletions
@@ -79,6 +79,16 @@ namespace boost {
this->insert(first, last);
}
unordered_flat_map(unordered_flat_map const& other) : table_(other.table_)
{
}
unordered_flat_map(
unordered_flat_map const& other, allocator_type const& a)
: table_(other.table_, a)
{
}
unordered_flat_map(std::initializer_list<value_type> ilist,
size_type n = 0, hasher const& h = hasher(),
key_equal const& pred = key_equal(),
@@ -78,6 +78,16 @@ namespace boost {
this->insert(first, last);
}
unordered_flat_set(unordered_flat_set const& other) : table_(other.table_)
{
}
unordered_flat_set(
unordered_flat_set const& other, allocator_type const& a)
: table_(other.table_, a)
{
}
unordered_flat_set(std::initializer_list<value_type> ilist,
size_type n = 0, hasher const& h = hasher(),
key_equal const& pred = key_equal(),