[Bug libstdc++/71640] [7 Regression] include/c++/7.0.0/bits/hashtable.h:293:7: error: too many template parameters in template redeclaration
Jonathan Wakely
jwakely@redhat.com
Tue Jun 28 13:40:00 GMT 2016
On 27/06/16 22:45 +0200, François Dumont wrote:
>Trivial attached patch applied to fix this regression. I am surprised
>that gcc had not detected it.
Yes, we should report a front-end bug for this if there isn't one
already.
>2016-06-27 François Dumont <fdumont@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:
More information about the Libstdc++
mailing list