honored select_on_container_copy_construction

This commit is contained in:
joaquintides
2022-09-28 13:55:44 +02:00
parent 8dcd40c8f3
commit c487f24611

View File

@ -534,7 +534,8 @@ public:
h{h_},pred{pred_},al{al_},size_{0},arrays{new_arrays(n)},ml{max_load()}
{}
table(const table& x):table(x,x.al){}
table(const table& x):
table(x,alloc_traits::select_on_container_copy_construction(x.al)){}
table(table&& x)
noexcept(