* include/bits/functional_hash.h (__poison_hash): New. * include/bits/unique_ptr.h (hash<unique_ptr<_Tp, _Dp>>): Derive from __poison_hash. * include/std/optional (hash<optional<_Tp>>): Likewise. * include/std/variant (hash<variant<_Types...>>): Likewise. * testsuite/20_util/default_delete/48631_neg.cc: Adjust. * testsuite/20_util/default_delete/void_neg.cc: Likewise. * testsuite/20_util/optional/hash.cc: New. * testsuite/20_util/unique_ptr/assign/48635_neg.cc: Adjust. * testsuite/20_util/unique_ptr/cons/cv_qual_neg.cc: Adjust. * testsuite/20_util/unique_ptr/hash/1.cc: Add tests for poisoned fancy pointer hashes. * testsuite/20_util/variant/hash.cc: New. From-SVN: r242402
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
77990.cc | Loading commit data... | |
array_convertible_neg.cc | Loading commit data... | |
auto_ptr.cc | Loading commit data... | |
auto_ptr_neg.cc | Loading commit data... | |
constexpr.cc | Loading commit data... | |
convertible_neg.cc | Loading commit data... | |
cv_qual.cc | Loading commit data... | |
cv_qual_neg.cc | Loading commit data... | |
noexcept_move_construct.cc | Loading commit data... | |
nullptr.cc | Loading commit data... | |
pointer.cc | Loading commit data... | |
pointer_array.cc | Loading commit data... | |
pointer_array_convertible_neg.cc | Loading commit data... | |
ptr_deleter.cc | Loading commit data... | |
ptr_deleter_neg.cc | Loading commit data... |