Trivial attached patch applied to fix this regression. I am surprised that gcc had not detected it.

2016-06-27  François Dumont  <fdum...@gcc.gnu.org>

    PR libstdc++/71640
    * include/bits/hashtable.h: Remove _Unique_keya parameter in _Insert
    friend declaration.


On 26/06/2016 18:21, pinskia at gcc dot gnu.org wrote:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71640

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

            What    |Removed                     |Added
----------------------------------------------------------------------------
    Target Milestone|---                         |7.0


Index: include/bits/hashtable.h
===================================================================
--- include/bits/hashtable.h	(revision 237802)
+++ include/bits/hashtable.h	(working copy)
@@ -294,7 +294,7 @@
 	       typename _ExtractKeya, typename _Equala,
 	       typename _H1a, typename _H2a, typename _Hasha,
 	       typename _RehashPolicya, typename _Traitsa,
-	       bool _Constant_iteratorsa, bool _Unique_keysa>
+	       bool _Constant_iteratorsa>
 	friend struct __detail::_Insert;
 
     public:

Reply via email to