forked from boostorg/unordered
Optimize emplace() for exactly a value_type or init_type argument (#227)
* Add structs to count special member functions * Add failing emplace tests, that will pass after making the optimization * Optimize emplace() to not allocate when we already have a value_type or init_type * Fix newly failing cfoa tests
This commit is contained in:
1 parent
75a94781d5
commit
67c5cdb3a6
10 files changed
+418
-37
No files matched your search
@@ -85,6 +85,7 @@ local FCA_TESTS =
|
||||
contains_tests
|
||||
copy_tests
|
||||
deduction_tests
|
||||
emplace_smf_tests
|
||||
emplace_tests
|
||||
equality_tests
|
||||
equivalent_keys_tests
|
||||
@@ -201,6 +202,7 @@ local FOA_TESTS =
|
||||
assign_tests
|
||||
insert_tests
|
||||
insert_hint_tests
|
||||
emplace_smf_tests
|
||||
emplace_tests
|
||||
erase_tests
|
||||
merge_tests
|
||||
|
||||
Reference in new issue
Block a user