[Bug libstdc++/90388] Disabled hash specialization should not be invocable

2022-03-16 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90388 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |10.0 Status|NEW

[Bug libstdc++/90388] Disabled hash specialization should not be invocable

2019-05-10 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90388 --- Comment #5 from Jonathan Wakely --- Fixed on trunk. The noexcept part might be worth backporting.

[Bug libstdc++/90388] Disabled hash specialization should not be invocable

2019-05-10 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90388 --- Comment #4 from Jonathan Wakely --- Author: redi Date: Fri May 10 21:41:16 2019 New Revision: 271078 URL: https://gcc.gnu.org/viewcvs?rev=271078&root=gcc&view=rev Log: PR libstdc++/90388 fix std::hash> bugs A disabled specialization should

[Bug libstdc++/90388] Disabled hash specialization should not be invocable

2019-05-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90388 --- Comment #3 from Jonathan Wakely --- Alternative patch: operator>=(nullptr_t, const unique_ptr<_Tp, _Dp>& __x) { return !(nullptr < __x); } - /// std::hash specialization for unique_ptr. - template -struct hash> -: public

[Bug libstdc++/90388] Disabled hash specialization should not be invocable

2019-05-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90388 --- Comment #2 from Jonathan Wakely --- Patch for both issues: @@ -830,14 +847,23 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION template struct hash> : public __hash_base>, -private __poison_hash::pointer> + private __poison_hash::po

[Bug libstdc++/90388] Disabled hash specialization should not be invocable

2019-05-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90388 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|