8ed6cfbbee
When I added the new mixin to _Hashtable, I forgot to explicitly construct it in each non-default constructor. That means you can't use any constructors unless all three of the hash function, equality function, and allocator are all default constructible. libstdc++-v3/ChangeLog: PR libstdc++/101583 * include/bits/hashtable.h (_Hashtable): Replace mixin with _Enable_default_ctor. Construct it explicitly in all non-forwarding, non-defaulted constructors. * testsuite/23_containers/unordered_map/cons/default.cc: Check non-default constructors can be used. * testsuite/23_containers/unordered_set/cons/default.cc: Likewise. |
||
---|---|---|
.. | ||
allocator | ||
buckets | ||
cons | ||
debug | ||
erase | ||
hash_policy | ||
insert | ||
max_load_factor | ||
modifiers | ||
operations | ||
operators | ||
requirements | ||
48101_neg.cc | ||
48101-2_neg.cc | ||
48101-3_neg.cc | ||
55043.cc | ||
56267-2.cc | ||
56267.cc | ||
56278.cc | ||
61143.cc | ||
63456.cc | ||
85965.cc | ||
92124.cc | ||
96088.cc | ||
erasure.cc | ||
final_hash.cc | ||
init-list.cc | ||
instantiation_neg.cc | ||
observers.cc | ||
pmr_typedefs_debug.cc | ||
pmr_typedefs.cc | ||
range_access.cc |