summaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorGCC Administrator <gccadmin@gcc.gnu.org>2022-06-16 00:16:44 +0000
committerGCC Administrator <gccadmin@gcc.gnu.org>2022-06-16 00:16:44 +0000
commit499b9c5f099c1b3e1ec14977abafe62a4c712bdd (patch)
treec54ade5b593c450c3da5367b2a605f93f024a983 /libstdc++-v3
parentce3867d414bd7d9e5b6fb2a51b1fb3d9e9e1eae9 (diff)
Daily bump.
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/ChangeLog16
1 files changed, 16 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 490ab754ed3..80ca871a558 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,19 @@
+2022-06-15 François Dumont <fdumont@gcc.gnu.org>
+
+ PR libstdc++/105717
+ * include/bits/hashtable_policy.h (_ConvertToValueType): New.
+ * include/bits/hashtable.h (_Hashtable<>::_M_insert_unique_aux): New.
+ (_Hashtable<>::_M_insert(_Arg&&, const _NodeGenerator&, true_type)): Use latters.
+ (_Hashtable<>::_M_insert(_Arg&&, const _NodeGenerator&, false_type)): Likewise.
+ (_Hashtable(_InputIterator, _InputIterator, size_type, const _Hash&, const _Equal&,
+ const allocator_type&, true_type)): Use this.insert range.
+ (_Hashtable(_InputIterator, _InputIterator, size_type, const _Hash&, const _Equal&,
+ const allocator_type&, false_type)): Use _M_insert.
+ * testsuite/23_containers/unordered_map/cons/56112.cc: Check how many times conversion
+ is done.
+ * testsuite/23_containers/unordered_map/insert/105717.cc: New test.
+ * testsuite/23_containers/unordered_set/insert/105717.cc: New test.
+
2022-06-14 Jonathan Wakely <jwakely@redhat.com>
PR libstdc++/62187