Add explicit allocator constructor

This commit is contained in:
Christian Mazakas
2023-04-18 15:36:12 -07:00
parent 910b8de697
commit fb403bc233
2 changed files with 21 additions and 1 deletions

View File

@@ -182,6 +182,11 @@ namespace boost {
{
}
explicit concurrent_flat_map(allocator_type a)
: table_(detail::foa::default_bucket_count, hasher(), key_equal(), a)
{
}
/// Capacity
///