https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90388
Jonathan Wakely changed:
What|Removed |Added
Target Milestone|--- |10.0
Status|NEW
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.
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
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
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90388
Jonathan Wakely changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|