gcc/libstdc++-v3/testsuite/20_util/unique_ptr
Ville Voutilainen 6964bb3ed9 Implement P0513R0, Poisoning the Hash.
* 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
2016-11-14 23:22:53 +02:00
..
assign Implement P0513R0, Poisoning the Hash. 2016-11-14 23:22:53 +02:00
comparison
cons Implement P0513R0, Poisoning the Hash. 2016-11-14 23:22:53 +02:00
creation
hash Implement P0513R0, Poisoning the Hash. 2016-11-14 23:22:53 +02:00
modifiers PR77987 Fix unique_ptr<T[], D>::reset(U) for T != U 2016-10-17 13:00:44 +01:00
requirements
specialized_algorithms
54351.cc
dr2228.cc